VirtualAlloc question
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi All! Where can I use VirtualAlloc() function? Can I use it to create a virtual file system? Can Anyone write me a link to find how an EXE works and how it uses virtual memory? Thanks for any answer!!
Dennis L wrote:
Where can I use VirtualAlloc() function?
Wherever you need to reserve a region of pages in the virtual address space of the calling process.
Dennis L wrote:
Can I use it to create a virtual file system?
Yes, if your virtual file system needs to reserve a region of pages in its virtual address space.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb