regsvr32: Call OleInitialize before registering a DLL
dmitry at codeweavers.com
Tue Feb 7 13:33:37 CST 2006
this patch fixes a crash in the set of dshow filters I'm playing with at
the moment. Each filter explicitely calls OleInitialize,OleUninitialize,
and then calls CoCreateInstance which returns CO_E_NOTINITIALIZED in
Wine, and after that the filter crashes dereferencing NULL instance
pointer. Apparently CoCreateInstance succeeds under Windows.
regsvr32.exe in my XPSP2 imports both OleInitialize and OleUninitialize,
so it's safe to make an assumption that it calls them.
regsvr32: Call OleInitialize before registering a DLL, call
OleUninitialize once finished.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1902 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060207/f8d8f919/regsvr32.diff
More information about the wine-patches