Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to pause and wait for application to methods to finish

Status
Not open for further replies.

Pistol34

MIS
Nov 17, 1999
55
0
0
US
I am using the MSagent and need to wait for the methods to finish before ending the sub routine. Right now the application ends before the agent can even load. I though about a timer but they are so shakey. If the agent isn't done and the time is up then it shutsdown. Can I wait for some return value from the Agent.
 

Try API calls WAITFORSINGLEOBJECT and GETEXITCODEPROCESS...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top