Re: Shared memory and error 997

From: William DePalo [MVP VC++] (willd.no.spam_at_mvps.org)
Date: 06/04/04


Date: Fri, 4 Jun 2004 14:57:25 -0400


"Matthew Ireland" <matthew.ireland@worldspan.com> wrote in message
news:%23AZevklSEHA.1448@TK2MSFTNGP09.phx.gbl...
> In child process
> *********
> HANDLE hMemory = OpenFileMapping(FILE_MAP_ALL_ACCESS,FALSE,argv[3]);
> #ifdef _DEBUG
> printf("unable to open file mapping '%s', %d\n", argv[3], GetLastError());
> #endif
> *********

Where is the check that the call to OFM() failed?

Regards,
Will



Relevant Pages