[Bug 34399] New: .NET 3.x/4.x WPF based installers/apps require windowscodecs.dll ComponentFactory_CreateBitmapFromHBITMAP implementation

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Aug 31 05:39:14 CDT 2013


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

             Bug #: 34399
           Summary: .NET 3.x/4.x WPF based installers/apps require
                    windowscodecs.dll
                    ComponentFactory_CreateBitmapFromHBITMAP
                    implementation
           Product: Wine
           Version: 1.7.1
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: windowscodecs
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net
    Classification: Unclassified


Hello folks,

as the summary says ...

Prerequisite:

'winetricks -q dotnet40' in 32-bit WINEPREFIX.

--- snip ---
WINEDEBUG=+tid,+seh,+relay wine ./DevExpressUniversalTrial-20130815.exe
>>log.txt 2>&1
...
002c:Call
windowscodecs.IWICImagingFactory_CreateBitmapFromHBITMAP_Proxy(001ad040,00540044,00000000,00000000,0033e474)
ret=01051d3d
002c:fixme:wincodecs:ComponentFactory_CreateBitmapFromHBITMAP
(0x1ad040,0x540044,(nil),0,0x33e474): stub
002c:Ret  windowscodecs.IWICImagingFactory_CreateBitmapFromHBITMAP_Proxy()
retval=80004001 ret=01051d3d 
...
002c:Call KERNEL32.RaiseException(e0434352,00000001,00000005,0033e39c)
ret=791cac08
002c:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7b83a9ef
ip=7b83a9ef tid=002c
002c:trace:seh:raise_exception  info[0]=80004001
002c:trace:seh:raise_exception  info[1]=00000000
002c:trace:seh:raise_exception  info[2]=00000000
002c:trace:seh:raise_exception  info[3]=00000000
002c:trace:seh:raise_exception  info[4]=79140000 
...
002c:Call oleaut32.SysFreeString(0567efec L"System.NotImplementedException: The
method or operation is not implemented.\r\n   at
System.Windows.Interop.InteropBitmap..ctor(IntPtr hbitmap, IntPtr hpalette,
Int32Rect sourceRect, BitmapSizeOptions sizeOptions,
WICBitmapAlphaChannelOption alphaOptions)\r\n   at
System.Windows.Interop.Imaging.Criti"...) ret=050d5ed6
002c:Ret  oleaut32.SysFreeString() retval=00000000 ret=050d5ed6
002c:Call KERNEL32.RaiseException(e0434352,00000001,00000005,0033e530)
ret=791cac08
002c:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7b83a9ef
ip=7b83a9ef tid=002c
002c:trace:seh:raise_exception  info[0]=80004001
002c:trace:seh:raise_exception  info[1]=00000000
002c:trace:seh:raise_exception  info[2]=00000000
002c:trace:seh:raise_exception  info[3]=00000000
002c:trace:seh:raise_exception  info[4]=79140000
002c:trace:seh:raise_exception  eax=7b826a01 ebx=7b8b9000 ecx=80004001
edx=0033e444 esi=0033e4ec edi=0033e4b0
002c:trace:seh:raise_exception  ebp=0033e488 esp=0033e424 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00200287 
...
002c:Call user32.MessageBoxW(00000000,0033d668 L"Exception EExternalException
in module KERNEL32.dll at 0002A9EF.\r\nExternal exception
E0434352.\r\n",0033de68 L"Application Error",00002010) ret=00416091 
--- snip ---

Source:
http://source.winehq.org/git/wine.git/blob/5d4c614c05a950e3597243639954db0dca07f612:/dlls/windowscodecs/imgfactory.c#l606

--- snip ---
 606 static HRESULT WINAPI
ComponentFactory_CreateBitmapFromHBITMAP(IWICComponentFactory *iface,
 607     HBITMAP hBitmap, HPALETTE hPalette, WICBitmapAlphaChannelOption
options,
 608     IWICBitmap **ppIBitmap)
 609 {
 610     FIXME("(%p,%p,%p,%u,%p): stub\n", iface, hBitmap, hPalette, options,
ppIBitmap);
 611     return E_NOTIMPL;
 612 }
--- snip ---

'winetricks windowscodecs' works around.

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