> From: Brian Havard [mailto:brianh@kheldar.apana.org.au]
> Sent: Friday, June 02, 2000 6:54 AM
>
> On Fri, 2 Jun 2000 20:39:44 +1000, Tim Costello wrote:
>
> >On Friday, 02 June 2000, William A. Rowe, Jr. wrote:
> >> But I'm getting past myself, and have been trying to avoid
> >> the two ongoing streams of consiousness. I'm simply trying to
> >> implement shmem on Win32, not that we need it or want it :-)
> >
> >Cool... how? I recall reading somewhere that the only way to do it
> >properly on win32 was by using memory mapped files. Anyone know a
> >better way?
>
> It's weird but can be done. You create a file mapping using
> INVALID_HANDLE_VALUE so it doesn't map to an actual file.
> Here's part of a
> named shared memory class I wrote:
It doesn't? Last time I looked the system swap/paging file was
a real file :-) That's the 'file' INVALID_HANDLE_VALUE maps to.
ergo... if you are running on 95 without a swap file at all, those
calls will die.