in reply to Re: Re: Win32 Shared Memory
in thread Win32 Shared Memory
The first page you linked to contains pretty much all you need to locate that information.
Example:
HANDLE memory_handle = OpenFileMapping(MAP_FILE_ALL_ACCESS, FALSE, "Creatures 3_mem");
Googling for "OpenFileMapping MSDN" brings up http://msdn.microsoft.com/library/en-us/fileio/base/openfilemapping.asp as the first link. Pasting the prototype given at the top of the page into Win32::API::Prototype along with "Kernel32.dll" located near the bottom, and supply the constants and you should be able to get access to the shared memory segement (assuming you have whatever application creates it running on your machine).
A similar process for each of the other APIs listed at your link would get you a long way towards your goal.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Win32 Shared Memory
by nornagon (Acolyte) on May 15, 2004 at 10:34 UTC | |
by BrowserUk (Patriarch) on May 15, 2004 at 16:52 UTC | |
by nornagon (Acolyte) on May 16, 2004 at 00:17 UTC | |
by BrowserUk (Patriarch) on May 16, 2004 at 00:29 UTC | |
by nornagon (Acolyte) on May 16, 2004 at 03:29 UTC | |
| |
by ysth (Canon) on May 16, 2004 at 05:07 UTC | |
by BrowserUk (Patriarch) on May 16, 2004 at 05:31 UTC | |
by ysth (Canon) on May 16, 2004 at 06:24 UTC | |
|