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, and i don't > know how to do it.
I think you should use SendMessage or SendMessageTimeout instead of PostMessage. SendMessage blocks until the message has been processed, and it returns an LRESULT which is the return value of the window procedure that processed the message (I think). That could be used to determine success or failure. -- If I have been able to see further, it was only because I stood on the shoulders of giants. -- Isaac Newton Roel Schroeven _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32