--- In [email protected], "brucexs" <bswit...@...> wrote: > > Maybe, but why does it always for me adn Alan (on two separate win versions, > to boot!)? >
This was what I actually observed yesterday when I tested the Word script. I haven't read other messages carefully yet. I don't think blocking for long is not a good idea to do, especially on an UI thread like PP's main thread, it could also block messages. So I suggested to use instead CoWaitForMultipleHandles (which internally utilizes MsgWaitForMultipleObjectsEx), but Alan seemed not to agree with me. Anyway, I'd rather wait on hThread than hEvent when PP is shutdown.
