using a structure as a memory-mapped file
- From: "Sean Farrow" <sean.farrow@xxxxxxxxxxxxxxxx>
- To: <programmingblind@xxxxxxxxxxxxx>
- Date: Sun, 30 Dec 2007 19:20:13 -0000
Hi:
I have my own declared structure. That I want to use as a inter-process
shared memory block. I can create th memory mapped file with out a
problem. How do I map a view of this file in to a process. I have the
following code to map curently:
TreeviewInfo =(SATreeviewInfo)MapViewOfFile(HTreeviewMSAAMapFile, NULL,
0, 0, 0);
This gives me compiler eror c2440 and tell me i carn't convert. Anyone
got any ideas?
Chers
Sean.
Other related posts:
- » using a structure as a memory-mapped file