Re: [python-win32] PyWin32 - PostMessage return value

2007-01-21 Thread Roel Schroeven
jbd schreef: > I create a process via the CreateProcess function, and i wait using > WaitForInputIdle to be sure that the process is in ready state, it works > well (ie: the process is launched). I send a message via PostMessage and > i'd like to know if the command had been correctly processed, an

Re: [python-win32] PyWin32 - PostMessage return value

2007-01-21 Thread jbd
> At Saturday 20/1/2007 21:35, jbd wrote: > Check also whether WaitForInputIdle returns 0, and not WAIT_TIMEOUT > (meaning that the process is not ready yet) That's why i'm doing. Moreover, i'm using INFINITE as a timeout. ret = win32event.WaitForInputIdle(handle, win32event.INFINITE) if ret !