Hi,
ole32: get_moniker_for_progid_display_name should fallback to using IClassFactory to get IParseDisplayName if getting it directly fails.
This fix looks OK, but still gets lots of error messages:
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004002 err:ole:create_server class {228d9a81-c302-11cf-9aa4-00aa004a5691} not registered fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported err:ole:CoGetClassObject no class object {228d9a81-c302-11cf-9aa4-00aa004a5691} could be created for context 0x15
2008/1/7 Robert Shearman rob@codeweavers.com:
Then run the test: $ ../../../wine ole32_test.exe.so moniker err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004002 err:ole:create_server class {228d9a81-c302-11cf-9aa4-00aa004a5691} not registered fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported err:ole:CoGetClassObject no class object {228d9a81-c302-11cf-9aa4-00aa004a5691} could be created for context 0x15 moniker.c:783: Test failed: ****************LDAP************** moniker: 2 tests executed (0 marked as todo, 1 failure), 0 skipped.
after my patch: $ ../../../wine ole32_test.exe.so moniker moniker.c:783: Test failed: ****************LDAP************** moniker: 2 tests executed (0 marked as todo, 1 failure), 0 skipped.
Although the test failed, but loading class {228d9a81-c302-11cf-9aa4-00aa004a5691} success.
I've just sent a patch for this. Thanks for reporting it and going to the trouble of describing how to reproduce it and proposing a patch.
-- Rob Shearman