http://bugs.winehq.org/show_bug.cgi?id=14228
Summary: Strip off double quotes from path before trying to load COM servers (Microsoft Device Emulator 3.0/Device Emulator Manager) Product: Wine Version: CVS/GIT Platform: PC URL: http://www.microsoft.com/downloads/details.aspx?FamilyID =a6f6adaf-12e3-4b2f-a394-356e2c2fb114&displaylang=en OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ole AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net
Hello,
after getting past:
http://bugs.winehq.org/show_bug.cgi?id=5351 (winetricks volnum)
and the minor nuisance
http://bugs.winehq.org/show_bug.cgi?id=11936 (installer window size too small)
it gets installed. When trying to run Device Emulator Manager it fails to load the COM server.
--- quote --- wine ./dvcemumanager.exe fixme:heap:HeapSetInformation (nil) 1 (nil) 0 err:ole:CoGetClassObject class {74ad2302-a606-428e-b40f-f04b8964adb6} not registered err:ole:CoGetClassObject no class object {74ad2302-a606-428e-b40f-f04b8964adb6} could be created for context 0x1 fixme:advapi:RegisterTraceGuidsW 0x406377 0x432ac0 0x4033e0 1 0x32ddf0 (null) (null) 0x432ac8 err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L""C:\Program Files\Microsoft Device Emulator\1.0\DeviceEmulatorProxy.dll"" err:ole:create_server class {063e2de8-aa5b-46e8-8239-b8f7ca43f4c7} not registered fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported err:ole:CoGetClassObject no class object {063e2de8-aa5b-46e8-8239-b8f7ca43f4c7} could be created for context 0x17 --- quote ---
The double quotes around the path *are* part of the key and cause the failure when trying to load the proxy (LoadLibraryExW with altered search path).
This works in Windows.
Best place to strip off double quotes before passing the path further is probably COM_RegReadPath() in "dlls/ole32/compobj.c"
Regards