On Tue, 21 Sep 2004, Jan Dubois wrote:
> There is also a race condition when 2 modules try to call CoUninitialize(),
> e.g. Win32::Shortcut and Win32::OLE.  If Win32::Shortcut has been loaded last,
> then its END block will be executed first, and the DESTROY methods of all
> still existing Win32::OLE methods will fail.

Oops, please ignore that paragraph; it is bogus.  The CoInitialize /
CoUninitialize() are maintaining a counter, so COM isn't actually
uninitialized until *all* users have called CoUninitialize().

Cheers,
-Jan




-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to