Sorry, I typed ZwResizeSection in google but I didn't get any results !! please could you check the word orthography thank you
hatemtalbi
Posts
-
a map Resizing a map file; -
a map Resizing a map file;for example when I resize the file from 4KB to 8KB, I expect that MapViewOfFile() return a buffer size of 8KB but I get only 4KB !!!
-
a map Resizing a map file;Yes, I did all that. But when I call mapViewOfFile() the secon time the whole size of the maapped file !!!
-
a map Resizing a map file;Hi all, I created a map file like this : HANDLE hMap=CreateFileMapping(hFile, NULL, _dwProtect, 0, _dwSize, _strMapName); but now I need to increase its size and create a new view on it!! does someone know how to to that the right way?? Thank you so much :)
-
How to know if a pointer is valid?AfxIsValidAddress worked fine for me. Thanks a lots :)
-
Memory buffer sizethat s the problem!!! it seems that the size of the file is larger than the memory buffer returned. I don't understand why :(
-
Memory buffer sizeno, _dwNbBytes == 0 ko mean kb == 1024 bytes thx
-
How to know if a pointer is valid?Hey, does someone know how to check if a pointer is valid (was allocated by the application and can be used without problem) or no?
-
Memory buffer sizeHere it is: LPVOID data = MapViewOfFile(m_hMap, _dwDesiredAccess, 0, _dwOffset, _dwNbBytes); I need to know the size of the data buffer. I call this code after resizing a map file with 8ko but I can acess only the first 4ko :( could someone help me?!!
-
Memory buffer sizeNo :( it doesn't worked for me !!! The _msize function returns the size, in bytes, of the memory block allocated by a call to calloc, malloc, or realloc. Thank you anyway
-
Memory buffer sizeHi, Is there any way to get the size of an allocated memory buffer knowing only the its address? Thank you all :)