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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling dos app, WaitForSingleObject...

Status
Not open for further replies.

demoniac

Programmer
Jun 14, 2001
63
US
Hello :)

I'm using the WaitForSingleObject to detect when a dos application is done running. When I use something like "net use" it works just fine, but when I call pkzip it gets stuck. The dos prompt will say "finished" but the program is still froze waiting on it, I guess for the prompt to close. Anybody have any suggestions on how to fix this?

Thanks,
demoniac :eek:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top