Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Put an Icon in a WSH Script?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00478045
Message ID:
00479093
Vues:
51
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform