How a 32-Bit APP can Determine When a Shelled Process Ends - Q129796 
Author Message
 How a 32-Bit APP can Determine When a Shelled Process Ends - Q129796

Hi Guys,
I am using a Shell Process and wait for the process to end using the API
commands given in article ID : Q129796

ie/ Using CreateProcess API call to create the process
and using WaitforSingleObject API Call to wait for the process to end
and then using CloseHandle API Call.

My VB4.0 Program runs on WINNT3.51 with 16MB RAM and this shell process
is getting executed every 5 minutes and the application runs
continuously

Within a day or two , I Could see that the Program is not able spawn the
procoess .But it does not give Error Msg.

Whn I try to invoke any other porgram , It says insufficient memory.

When I was using the shell command , I didn't have this proble.

So I suspect any memory leak in the API Calls ?
Is there any remedy?

Thanking You in anticipation

M.Meyyappan
Eutech {*filter*}netics , Singapore



Tue, 14 Dec 1999 03:00:00 GMT  
 How a 32-Bit APP can Determine When a Shelled Process Ends - Q129796

Check out the ms knowledge base.  A search of te April MSDN KB turned yp =
50 articles with memory leak in their title.

--=20
Randy Birch, MVP Visual Basic

Moderator, Fidonet Visual Basic Programmer's Conference
VBnet, The Visual Basic Developers Resource Centre
http://www.*-*-*.com/



: Hi Guys,
: I am using a Shell Process and wait for the process to end using the =
API
: commands given in article ID : Q129796
:=20
: ie/ Using CreateProcess API call to create the process=20
: and using WaitforSingleObject API Call to wait for the process to end=20
: and then using CloseHandle API Call.
:=20
: My VB4.0 Program runs on WINNT3.51 with 16MB RAM and this shell =
process
: is getting executed every 5 minutes and the application runs
: continuously
:=20
: Within a day or two , I Could see that the Program is not able spawn =
the
: procoess .But it does not give Error Msg.
:=20
: Whn I try to invoke any other porgram , It says insufficient memory.
:=20
: When I was using the shell command , I didn't have this proble.
:=20
: So I suspect any memory leak in the API Calls ?
: Is there any remedy?
:=20
: Thanking You in anticipation
:=20
: M.Meyyappan
: Eutech {*filter*}netics , Singapore

:



Tue, 14 Dec 1999 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. Help: How a 32-Bit app can determine when a shelled process ends

4. How to Determine When a Shelled 32-bit Process Has Terminated

5. HELP: How-to determine if 32-bit shelled app is finished

6. Shell and Wait 16 bit apps from 32 bit VB 4.0

7. Ending a Process VB4a 32 Bit

8. Waiting for a shell process to finish in 32 bit environment

9. How to detect (by EXE name) if a non-shelled process is running (32-bit)

10. How to detect (by EXE name) if a non-shelled process is running (32-bit)

11. Calling 32-bit DLL function from 32-bit VB4 app

12. Launching 16-Bit apps from 32-Bit app?

 

 
Powered by phpBB® Forum Software