shell32/brsfolder: Initialize COM prior to display the SHBrowseForFolder dialog

Michael Jung mjung at iss.tu-darmstadt.de
Tue Nov 8 15:51:45 CST 2005


Some shell namespace extensions depend on COM being initialized. I sent a 
piece of code to wine-devel, which I think shows that windows does it, too 
(http://www.winehq.org/pipermail/wine-devel/2005-November/042113.html). I 
don't know how to write a unit test to show this, though. 

We have to do this for the file dialogs, too, but I didn't yet find the 
correct place in the code to insert the CoInitialize/CoUninitialize calls. I 
will look into this.

Changelog:
	Initialize COM prior to display the SHBrowseForFolder dialog

Bye,
-- 
Michael Jung
mjung at iss.tu-darmstadt.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlls_shell32_brsfolder_c.diff
Type: text/x-diff
Size: 812 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051108/7519183a/dlls_shell32_brsfolder_c.diff


More information about the wine-patches mailing list