Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect when a process stops
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00358854
Message ID:
00359076
Views:
12
>Ok api gurus, is there any way to determine if a process has stopped? I have a product that is a half-baked OLE server call BI-Query. I create an instance of it through OLE and load the ODBC,but have to use sendkeys to make it do what I want. There are no events in this server for me to monitor, so I have just timed the application and given myself a little leeway to make it work. I don't really like that, but you do what you have to. If there were some way to detect that the process had stopped, I could streamline the program. Any ideas?

Download my API_APPRUN class from the Files section, and do some reading on the Win32 API calls in the MSDN.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform