http://bugs.winehq.org/show_bug.cgi?id=19592
--- Comment #8 from Peter Urbanec bugzilla.winehq.org@urbanec.net 2009-08-06 20:16:26 --- In an attempt to figure out where things may be failing, I turned on the ole and reg debug channels. Here is a section of the resulting trace:
trace:ole:OleSetClipboard (0x4a3868) trace:ole:CoMarshalInterface (0x1387b0, {0000010e-0000-0000-c000-000000000046}, 0x4a3868, 0, (nil), MSHLFLAGS_TABLESTRONG) trace:ole:CoGetStandardMarshal ({0000010e-0000-0000-c000-000000000046},0x4a3868,0,(nil),1,0x32f3c4) trace:ole:CoMarshalInterface Using standard marshaling trace:ole:CoMarshalInterface Calling IMarshal::MarshalInterace trace:ole:StdMarshalImpl_MarshalInterface (...,{0000010e-0000-0000-c000-000000000046},...) trace:ole:RemUnknown_QueryInterface (0x14a098)->({00000131-0000-0000-c000-000000000046}, 0x32f0a0) trace:ole:RemUnknown_AddRef 0x14a098 before: 1 trace:ole:CoGetPSClsid () riid={00000131-0000-0000-c000-000000000046}, pclsid=0x32f050 trace:reg:NtCreateKey ((nil),L"Machine\Software\Classes",<null>,0,f003f,0x32ee70) trace:reg:NtCreateKey <- 0x60 trace:reg:create_special_root_hkey L"Machine\Software\Classes" -> 0x60 trace:reg:NtOpenKey (0x60,L"Interface\{00000131-0000-0000-C000-000000000046}\ProxyStubClsid32",20019,0x32ef08) trace:reg:NtOpenKey <- (nil) warn:ole:CoGetPSClsid No PSFactoryBuffer object is registered for IID {00000131-0000-0000-c000-000000000046} err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046} trace:ole:RemUnknown_Release 0x14a098 after: 1 trace:ole:RemUnknown_Release 0x14a098 after: 0 trace:ole:CoGetPSClsid () riid={0000010e-0000-0000-c000-000000000046}, pclsid=0x32f270 trace:reg:NtOpenKey (0x60,L"Interface\{0000010E-0000-0000-C000-000000000046}\ProxyStubClsid32",20019,0x32f128) trace:reg:NtOpenKey <- (nil) warn:ole:CoGetPSClsid No PSFactoryBuffer object is registered for IID {0000010e-0000-0000-c000-000000000046} err:ole:marshal_object couldn't get IPSFactory buffer for interface {0000010e-0000-0000-c000-000000000046} err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80040155 err:ole:CoMarshalInterface Failed to marshal the interface {0000010e-0000-0000-c000-000000000046}, 80040155 trace:ole:CoMarshalInterface completed with hr 0x80040155 trace:ole:CoReleaseMarshalData (0x1387b0) trace:ole:get_unmarshaler_from_stream Using standard unmarshaling trace:ole:StdMarshalImpl_ReleaseMarshalData iface=0x149730, pStm=0x1387b0 trace:ole:StdMarshalImpl_ReleaseMarshalData oxid = 32f404ff000000, oid = 7effe9c000000020, ipid = {00000018-0000-0000-08f4-320086ccf6b7} warn:ole:StdMarshalImpl_ReleaseMarshalData Could not map OXID 32f404ff000000 to apartment object err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d