Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Put an Icon in a WSH Script?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00478045
Message ID:
00479093
Views:
53
>While re-digging through the API ref, I saw WaitForInputIdle and was wondering if youcould shoot me a real-world example of where it could be used. Would it be useful where you are doing a CreateObject() and can not be sure if the object is loaded completely?
>

API_APPRUN uses WaitForInputIdle() in LaunchAppAndWait, so there's code there. I do not think it's likely to help with CreateObject().

>
>>>>
>>>>As for killing a process, I don't have any code except to use SendMessage() with WM_CLOSE. Ed Rauh, might know something better, however.
>>>
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