MapViewOfFileEx
-
I have been trying to find a way to map a view of a file in to a pre-selected base address using the MapViewOfFileEx() function. This works perfectly fine on NT if the base address is 0x60000000, but the same address does not work on Win95 due to the differences in the virtual memory handling. Does anybody out there know an address which can be used for Win95?, or even better: on both platforms. I am not trying to map more than about 50MB, but it is crucial that i can get the same base pointer every time i load the file. Jan "It could have been worse, it could have been ME!"
-
I have been trying to find a way to map a view of a file in to a pre-selected base address using the MapViewOfFileEx() function. This works perfectly fine on NT if the base address is 0x60000000, but the same address does not work on Win95 due to the differences in the virtual memory handling. Does anybody out there know an address which can be used for Win95?, or even better: on both platforms. I am not trying to map more than about 50MB, but it is crucial that i can get the same base pointer every time i load the file. Jan "It could have been worse, it could have been ME!"
jan larsen wrote: Does anybody out there know an address which can be used for Win95?, or even better: on both platforms Sorry, the allowable ranges don't overlap. Advanced Windows says 0x80000000 to 0xBFFFFFFF for 9x, 0x00010000 to 0x7FFEFFFF for NT. --Mike-- "COM didn't solve the old version of DLL hell - it just provided us with a new and improved version of hell." -- John Simmons, 1/22/2002 My really out-of-date homepage Sonork - 100.10414 AcidHelm Big fan of Alyson Hannigan.