I'm trying currently to test inter process communication by using filemaps. My first program, which i shall call the producer, doesn't error on the following code which createsa file map and writes to it, as follows:
if (hnewEvent == NULL) { MessageBox(NULL, TEXT("error code: 1"), TEXT("testhere"), MB_OK); _tprintf(TEXT("Could not create file mapping object (%d).\n"), GetLastError()); return 1; }
Can anyone see anything obvious i'm missing?, as it's going straight over my head.