Re: Shared memory and error 997
From: Matthew Ireland (matthew.ireland_at_worldspan.com)
Date: 06/04/04
- Next message: Juke All: "Re: Challenge for variable argument function gurus"
- Previous message: William DePalo [MVP VC++]: "Re: Shared memory and error 997"
- In reply to: William DePalo [MVP VC++]: "Re: Shared memory and error 997"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 4 Jun 2004 15:07:41 -0400
Oops.
Rechecked the actual code and there was an intervening call. The
OpenFileMapping() was failing but we were getting the wrong error message.
"William DePalo [MVP VC++]" <willd.no.spam@mvps.org> wrote in message
news:usTHBXmSEHA.644@tk2msftngp13.phx.gbl...
> "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
>
>
- Next message: Juke All: "Re: Challenge for variable argument function gurus"
- Previous message: William DePalo [MVP VC++]: "Re: Shared memory and error 997"
- In reply to: William DePalo [MVP VC++]: "Re: Shared memory and error 997"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|