>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.
>>>