Re: 128 Return Code

From: CheckAbdoul (checkabdoul)
Date: 11/02/04


Date: Tue, 2 Nov 2004 10:10:40 -0500

See if the following KB articles are of any relevance here

            http://support.microsoft.com/?id=156484
            http://support.microsoft.com/?id=184802
            http://support.microsoft.com/?id=812400

-- 
Cheers
Check Abdoul [VC++ MVP]
-----------------------------------
"scallejo" <scallejo@discussions.microsoft.com> wrote in message
news:5989590E-FB64-47AA-896A-C76179A531ED@microsoft.com...
> I have a C++ program that executes a command line through the system
> function.  In the command line,  I execute another program that will pipe
its
> output to a third program.
>
> ie:
>
> system("prg1.exe | prg2.exe");
>
> This statement works most of the time.
>
> On occasions, I will get a 128 error code.
>
> Based on some debugging statements I placed in prg1 and prg2,  prg1
executes
> and completes sucessfully (return code 0),  I then get a 128 error code
> without prg2 ever executing (no messages associated with prg2 start up).
>
> No where in prg2 or prg1 do I return back a 128 status code.
>
> The 128 error code seems to be coming from the OS as a result of its
> inability to start up the second program prg2.
>
> The error is intermittent and seems to occur during peak usage.
>
> Does any one know of any documentation that outlines a 128 error code
> associated to some type of OS resource constraint.


Relevant Pages

  • 128 Return Code
    ... I have a C++ program that executes a command line through the system ... I will get a 128 error code. ... without prg2 ever executing. ...
    (microsoft.public.vc.language)
  • Re: 128 Return Code
    ... Automate your software builds with Visual Build Pro ... >I have a C++ program that executes a command line through the system ... In the command line, I execute another program that will pipe ... I will get a 128 error code. ...
    (microsoft.public.vc.language)
  • using -ftracer stops buildworld at shutdown.c
    ... When the C runtime executes a longjmp, the flow of control passes back ... In the process, the stack (which ... prevented from being optimized by declaring them as volatile. ... *** Error code 1 ...
    (freebsd-hackers)
  • Re: 128 Return Code
    ... Error code 128: There are no child processes to wait for. ... "scallejo" wrote in message ... In the command line, I execute another program that will pipe ...
    (microsoft.public.vc.language)
  • Re: MS Update Website problem
    ... a colleague of mine was able to discover that the error code ... This must set some kind of record even for Microsoft. ... At the command prompt, type the following commands, and then press ENTER ... To rename the Catroot2 folder, ...
    (microsoft.public.windowsupdate)