And there is another small error in examples\System\SharedMem:
in the demo SharedMemClient.o2bas there is this code at about line 43:
& pBuf = MapViewOfFile(hMapFile, // handle to map object
FILE_MAP_ALL_ACCESS, // read/write permission
0,
0,
BUF_SIZE);
if (& pBuf == 0)
this results to the error:
RROR: Too many right brackets (..))
WORD: }
LINE: 65
FILE: main source
PASS: 1
If I modify to:
if (&pBuf == 0)
then the demo runs ok. I wonder why & pBuf = MapViewOfFile(hMapFile does work, but the second use of & pBuf does not work?