CreateProcess Api returns a bad Pid 
Author Message
 CreateProcess Api returns a bad Pid

Hello

I have a generalized routine that uses the CreatePprocess  api to launch
applications.  It works properly most of the time
but every now and then it returns a bad pid for a given app.
 eg.
  createprocess always returns a bad pid for the program  "pceditor.exe". As
a matter of fact the pid
 does not exist at all!!
Any ideas? thanks in advance.

 Murray



Wed, 04 Feb 2004 06:15:49 GMT  
 CreateProcess Api returns a bad Pid


Quote:
> Hello

> I have a generalized routine that uses the CreatePprocess  api to launch
> applications.  It works properly most of the time
> but every now and then it returns a bad pid for a given app.
>  eg.
>   createprocess always returns a bad pid for the program  "pceditor.exe".
As
> a matter of fact the pid
>  does not exist at all!!
> Any ideas? thanks in advance.

I think that happens with 16 bit apps running on NT (maybe Win 9x also).


Wed, 04 Feb 2004 08:24:50 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. CreateProcess, Shell, PID ?????

2. CreateProcess API does not return Process or Thread IDs for 16-bit apps

3. How to tie the dllhost.exe PID to COM+ Application PID programmatically

4. Bound Controls: bad,bad,bad

5. RDO bad, bad, bad

6. RDO bad, bad, bad

7. CreateProcess returning a value of zero

8. CreateProcess() returned error code 0x000000C1H

9. CreateProcess() returned error code 0x000000C1H

10. shell a file (as with shellExecute) AND wait for its return (as with CreateProcess)

11. CreateProcess returns 0

12. Returned Email Mark Field Bad = Yes

 

 
Powered by phpBB® Forum Software