[python-win32] Passing data in a windows message
Tim Roberts
timr at probo.com
Wed Dec 10 19:41:23 CET 2008
Thomas Heller wrote:
> Since you used PostMessage, the message is simply posted to the thread's
> message queue. You have no control when it is processed; so I fear you
> must keep the posted 'object' alive even longer.
>
This is a good point that I overlooked. If you used SendMessage, it
would block until the other end acknowledged it.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list