Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SynchronousShellExecute sometime works sometimes not
Message
From
14/03/2007 05:16:07
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italy
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01203033
Message ID:
01203270
Views:
16
So you confirm that some programs like Acrobat Reader have a standard behaviuor when it close itself ?



>Probably the handle passed in your code to WaitForSingleObject is invalid.
>
>There is VFP code sample on my web site (membership required) that uses CreateProcess and WaitForSingleObject API calls exactly for this purpose.
>
>Starting external program from VFP and waiting for its termination
>http://www.news2news.com/vfp/?example=377
bye, Emanuele!
In the beginning the Universe was created.
This has made a lot of people very angry and been widely regarded as a bad move.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform