[EMAIL PROTECTED] schrieb am 08.07.2005 
20:40:56:

> Hello,
> 
> I am unable to get Win32::OLE::QuitMessageLoop working consistently:
> sometimes it causes a prior Win32::OLE::MessageLoop call to terminate,
> sometimes it does not.

Responding to myself and thinking out loud:

I compiled a debug version of OLE.dll to see what is going on under the 
hood.
With respect to debug output, there is not much else to add to my previous
message: the PostThreadMessage call in Initialize(...) returns success,
yet the GetMessage-while-loop a few lines above does not receive the 
message.

I found this tip, which seems related: http://www.devx.com/tips/Tip/14720

My working hypothesis is that the thread to which PostThreadMessage
is posted is also the same thread which created the MSIE browser window,
and that there is a second message loop somewhere which (sometimes)
consumes the posted event.

Perhaps someone could comment if the above sounds plausible and, if yes,
what alternate mechanism I could use in OLE.dll to reliably break out
of the MessageLoop?

Best regards -
Jan Ploski
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to