Huang, Zhangrong wrote:
Hi, Sorry for the delay. Here is a test, pls import the attached registry files, and copy native activeds.dll, adsldpc.dll, adsldp.dll to your windows system32 dir, and patch wine/dlls/ole32/tests/moniker.c
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.