Determining when a shelled process ends 
Author Message
 Determining when a shelled process ends

Hi,
I have a question about the 'howto' in the Microsoft Knowledge base with
number Q129796. It describes the 32-bit solution to determine when a shelled
proces ends.
It uses the 'CreateProcess' to start the shelled application. This works
fine, but I like the shelled program to run minimized or hidden. Using the
'shell' function this is possible by using a 'hide' option.

Is it also possible to start the shelled application by the 'CreateProcess'
in a 'hidden' mode?

Any help would be appreciated,
Regards,
Gert-Jan Hartwich



Sun, 11 Feb 2001 03:00:00 GMT  
 Determining when a shelled process ends
<cut>

Quote:
>Is it also possible to start the shelled application by the 'CreateProcess'
>in a 'hidden' mode?

Sure is - you have to set the dwFlags and wShowWindow entries in the
StartupInfo structure.  Take a look at
http://home.earthlink.net/~butlerbob/vb/tasks/shellwt.htm for some sample
code.  (I broke the wShowWindow into 2 bytes because of VB's tendency to pad
integers in memory to align items on a double-word boundary.  I don't think
it's absolutely required in this case, but it doesn't hurt)


Sun, 11 Feb 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How a 32-Bit App Can Determine When a Shelled Process Ends, Article ID: Q129796

2. How a 32-Bit App Can Determine When a Shelled Process Ends

3. How a 32-Bit APP can Determine When a Shelled Process Ends - Q129796

4. Help: How a 32-Bit app can determine when a shelled process ends

5. Help with Determining Shell Process Ends

6. Determine When shelled process end

7. Determine when process ends.

8. Why wait the end of a Shell process ?

9. How to determe when a SHELLed process ends.

10. Check if a Shell Process Ends

11. End a shell process ???

12. determining if a shelled program has ended execution (vb3.0)

 

 
Powered by phpBB® Forum Software