Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Win32 API to cause a quit
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00158338
Message ID:
00158388
Views:
16
>>I need to cause an external application to quit whenever a given directory is empty. I expect that this should be done with a call to the Win32 API, but how do I do it?
>>
>>TIA
>Hi Mark,
>
>Check the UT Knowledge (FAQs) under Win32 and other APIs. I wrote an article there that describes how to do this.
>
>hth,

There's also an article in there describing the use of TerminateProcess(), a much messier but final method of killing things off...
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
Reply
Map
View

Click here to load this message in the networking platform