Einzelnen Beitrag anzeigen

teebee

Registriert seit: 17. Jan 2003
Ort: Köln
460 Beiträge
 
Delphi 6 Professional
 
#3

Re: Externes Programm in Panel laufen lassen

  Alt 25. Aug 2005, 12:11
Zitat von MSDN:
The WaitForInputIdle function enables a thread to suspend its execution until the specified process has finished its initialization and is waiting for user input with no input pending. This can be useful for synchronizing a parent process and a newly created child process. When a parent process creates a child process, the CreateProcess function returns without waiting for the child process to finish its initialization. Before trying to communicate with the child process, the parent process can use WaitForInputIdle to determine when the child's initialization has been completed. For example, the parent process should use WaitForInputIdle before trying to find a window associated with the child process.
Schau Dir mal MSDN-Library durchsuchenWaitForInputIdle an. Vielleicht ist das ja was für Dich.

Gruß, teebee
  Mit Zitat antworten Zitat