On Tue, Oct 9, 2012 at 4:27 AM, Roman Dadkov romand@etersoft.ru wrote:
This patch change dwClsContext parameter of a CoCreateInstance call in function DefaultHandler_Run. Because even if there is some clsid in the registry, the function will not be able to run the newly created object. Unfortunately, the test for this case can't be added to Wine, because it leads a crash.
You could put the test inside if(0), so that it's still documented, see, for example, dlls/ole32/tests/stg_prop.c or dlls/user32/tests/input.c.
Cheers, Austin