My project is having trouble getting C++ memory-mapped-files to work as shared memory between processes.
This job: provide a simple C++ example that does the following:
Create a memory mapped file using CreateFileMapping() where the hFile parameter is 0xFFFFFFFF,
to use the system pagefile instead of a real file on disk.
Create a View, using MapViewOfFile() or perhaps better, MapViewOfFileEx(),
and then repeatedly read a value from with the View, from the main event loop,
and let the app run for a while. I don't want to MapView.. UnMapView on every loop.
Instead, I want to just keep using the View creating during startup.