I am attempting to delete a memory mapped file when I close down my data server.
if(hMMF != NULL)
{
if (!CloseHandle(hMMF))
lerror(GetLastError());
hMMF = NULL;
}
HFILE_ERROR ==OpenFile("TESTMMF.DAT",&of,OF_DELETE);
every other time the file stays. I did try to do a DeleteFile() operation and received:
Access denied error.
Has anybody else seen this type of problem?
Asher
if(hMMF != NULL)
{
if (!CloseHandle(hMMF))
lerror(GetLastError());
hMMF = NULL;
}
HFILE_ERROR ==OpenFile("TESTMMF.DAT",&of,OF_DELETE);
every other time the file stays. I did try to do a DeleteFile() operation and received:
Access denied error.
Has anybody else seen this type of problem?
Asher