can i use the same handle over again in a loop?..
HANDLE fhandle;
HANDLE fhandleMap
int *Mem = NULL;
for (loop 7 times)
{
fhandle = CreateFile(file, GENERIC_READ, ...);
fhandleMap = CreateFileMapping(fhandle, ...);
.
.
Mem = ...;
... // do various things
}
if (fhandleMap)
{CloseHandle(fhandleMap);}
if (fhandle)
{CloseHandle(fhandle);}