I have no problems implementing the memory mapped file. The question is. Assuming this returns a valid memory view:
void* pBuf = MapViewOfFile(hMapFile, FILE_MAP_WRITE, 0, 0, 0); Do I have alternatives to using memcpy to give data to it? For instance can I tell my application to store data in it? I really want something like char* buffer = new char[1073741824] where the new places the data in the memory mapped file. This seems logical. Or will I have to write a wrapper that writes to the memory view using memcpy? that would be disappointing.