Article View: comp.os.os2.programmer
Article #2207Re: DosExecPgm error or not?
From: Kenneth A. Kahn
Date: Wed, 30 Sep 1992 17:47
Date: Wed, 30 Sep 1992 17:47
13 lines
1156 bytes
1156 bytes
In <1992Sep18.003111.11759@elroy.jpl.nasa.gov> Les Hartzman writes:
>I'm getting an ERROR_INVALID_FUNCTION return value from starting up an
>asynchronous process. The process that is started up works just fine. What
>could be the problem?
It would help if you would show a code segment of what you are trying to do
so we can see if it looks OK or not. As an edutcated guess, the most common
reason for this error is you are not specifying teh argument string correctly.
It *must* be in the following format:
progname\0arg_string\0\0
The '\0' is a NULL byte. You must specify the NULL bytes as shown.
Technical Details
Message-ID:
<19920930.122205.401@almaden.ibm.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!PKSMRVM.VNET.IBM.COMReferences:
<1992Sep18.003111.11759@elroy.jpl.nasa.gov>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!PKSMRVM.VNET.IBM.COM From: KENKAHN@PKSMRVM.VNET.IBM.COM (Kenneth A. Kahn) Message-ID: <19920930.122205.401@almaden.ibm.com> Date: Wed, 30 Sep 92 13:47:14 EDT Newsgroups: comp.os.os2.programmer Subject: Re: DosExecPgm error or not? Organization: Staff of IBM Fellow - IBM Personal/370 Disclaimer: This posting represents the poster's views, not those of IBM News-Software: UReply 3.0 X-X-From: KENKAHN@PKSMRVM.VNET.IBM.COM (Ken Kahn) References: <1992Sep18.003111.11759@elroy.jpl.nasa.gov> Lines: 13