
How a 32-Bit App Can Determine When a Shelled Process Ends
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