[Bug 18025] New: .NET 2.0 Regasm.exe typelib exporter needs ICreateTypeInfo2::SetCustData

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 13 06:17:03 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=18025

           Summary: .NET 2.0 Regasm.exe typelib exporter needs
                    ICreateTypeInfo2::SetCustData
           Product: Wine
           Version: 1.1.19
          Platform: Other
               URL: http://downloads.slingmedia.com/go/slingbox-desktop-us
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: oleaut32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net


Hello,

after overcoming bug 17799, regasm typelib exporter blocks on next one:

--- snip ---
$ wine ../../../windows/Microsoft.NET/Framework/v2.0.50727/regasm.exe
SlingSDK.dll /code /tlb
fixme:ole:CoGetContextToken stub
Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.42
Copyright (C) Microsoft Corporation 1998-2004.  All rights reserved.

fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.
err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Sling
Media\\SlingPlayer\\SlingSDK.dll" failed with error 0
fixme:shell:URL_ParseUrl failed to parse L""
fixme:shell:URL_ParseUrl failed to parse L"RegAsm"
fixme:shell:URL_ParseUrl failed to parse L""
fixme:shell:URL_ParseUrl failed to parse L"SMBridge"
fixme:powrprof:DllMain (0x61020000, 1, (nil)) not fully implemented
fixme:shell:URL_ParseUrl failed to parse L"System"
Types registered successfully
fixme:shell:URL_ParseUrl failed to parse L"System.Drawing"
Type library exporter warning processing
'SlingSDK.Evolution.FiniteStateAutomation.Pair`1, SlingSDK'. Warning: Type
library exporter encountered a generic type. Generic classes may not be exposed
to COM.
fixme:typelib2:ICreateTypeInfo2_fnSetCustData
(0x1df508,{0f21f359-ab84-41e8-9a78-36d110e6d2f9},0x32c5b0), stub!
RegAsm : error RA0000 : Type library exporter encountered an error while
processing 'SlingSDK.WebServices.ClipAndSlingService, SlingSDK'. Error: Common
Language Runtime Internal error: 0x8007000e
--- snip ---

The TLB_ReadTypeLib and typelib exporter warnings are *expected* and completely
sane (I'll add a note to appdb later to prevent confusion).

The problem is ICreateTypeInfo2::SetCustData being a stub.

--- snip dlls/oleaut32/typelib2.c ---
static HRESULT WINAPI ICreateTypeInfo2_fnSetCustData(
        ICreateTypeInfo2* iface, /* [I] The typeinfo in which to set the custom
data. */
        REFGUID guid,            /* [I] The GUID used as a key to retrieve the
custom data. */
        VARIANT* pVarVal)        /* [I] The custom data. */
{
    FIXME("(%p,%s,%p), stub!\n", iface, debugstr_guid(guid), pVarVal);
    return E_OUTOFMEMORY;
} 
--- snip dlls/oleaut32/typelib2.c ---

Trace log:

--- snip ---
007b:Call oleaut32.SysAllocString(0032c638
L"SlingSDK.WebServices.ClipAndSlingService") ret=7a037994
007b:Call KERNEL32.lstrlenW(0032c638
L"SlingSDK.WebServices.ClipAndSlingService") ret=60dfbda4
007b:Ret  KERNEL32.lstrlenW() retval=00000028 ret=60dfbda4
...
007b:Ret  oleaut32.SysAllocString() retval=001fb59c ret=7a037994
007b:fixme:typelib2:ICreateTypeInfo2_fnSetCustData
(0x205ab8,{0f21f359-ab84-41e8-9a78-36d110e6d2f9},0x32c5b0), stub!
007b:Call ole32.GetErrorInfo(00000000,0032bcd4) ret=79f97d03
007b:Ret  ole32.GetErrorInfo() retval=00000001 ret=79f97d03
...
007b:Call
KERNEL32.FormatMessageW(00001000,00000000,8007000e,00000400,0032bcf8,00000400,00000000)
ret=7a127c38
007b:Ret  KERNEL32.FormatMessageW() retval=00000000 ret=7a127c38
007b:Call KERNEL32.GetLastError() ret=79f061ff
007b:Ret  KERNEL32.GetLastError() retval=00000717 ret=79f061ff
...
007b:trace:ole:ICreateErrorInfoImpl_SetDescription (0x1fb468): L"Type library
exporter encountered an error while processing
'SlingSDK.WebServices.ClipAndSlingService, SlingSDK'. Error: Common Language
Runtime Internal error: 0x8007000e"
...
007b:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0032bc28)
ret=78158dd3
007b:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b84386b
ip=0x7b84386b tid=007b
007b:trace:seh:raise_exception  info[0]=19930520
007b:trace:seh:raise_exception  info[1]=0032bc80
007b:trace:seh:raise_exception  info[2]=7a35d570
007b:trace:seh:raise_exception  eax=7b82ca2d ebx=7b8c2bf8 ecx=00000000
edx=0032bc14 esi=0032bc14 edi=0032bb90
007b:trace:seh:raise_exception  ebp=0032bb78 esp=0032bb14 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000246
--- snip ---

Regards


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list