Re: Shared memory and error 997

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Matthew Ireland (matthew.ireland_at_worldspan.com)
Date: 06/04/04


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
>
>



Relevant Pages

  • Re: ADSI script for IIS 5.0 can not run in IIS 6.0
    ... You have given insufficient information on what exactly is failing. ... The error message comes after the running of SiteObj.SetInfo ... .AccessScript = True ... ' These properties are common to ROOT dir and to the web server ...
    (microsoft.public.inetserver.iis)
  • Re: How do I end processes that time out?
    ... >> assigned to the child process by the OS was one more than ... > $pid you get is for the shell, not for the actual command executed. ... I can't figure out why it's giving me an error message, ... value as a filehandle reference when I use the list form of open. ...
    (comp.lang.perl.misc)
  • Re: ADSI script for IIS 5.0 can not run in IIS 6.0
    ... NewBindings= BindingString ... > You have given insufficient information on what exactly is failing. ... > The error message comes after the running of SiteObj.SetInfo ... >> IIS ...
    (microsoft.public.inetserver.iis)
  • why would a directory fail the is_dir() test?
    ... was working fine on one web server running FreeBSD and PHP 4.06. ... PHP 4.2.3) and the directory is failing the is_dirtest. ... The error message that I have in my code is printing out this error: ...
    (comp.lang.php)
  • RE: Internet Explorer ADBODB update kills IE
    ... I'll open it, and it's in Thumbnail view, and suddenly I get an error message and Explorer.exe restarts itself. ... Fabulous job, Microsoft. ... Internet Explorer just sits here as I type, failing to load ...
    (microsoft.public.windowsupdate)