WineHQ
Bug Tracking Database – Bug 34399

 Bugzilla

 

Last modified: 2013-11-15 13:39:48 UTC  

.NET 3.x/4.x WPF based installers/apps require windowscodecs.dll ComponentFactory_CreateBitmapFromHBITMAP implementation

Bug 34399 - .NET 3.x/4.x WPF based installers/apps require windowscodecs.dll ComponentFactory_CreateBitmapFromHBITMAP implementation
.NET 3.x/4.x WPF based installers/apps require windowscodecs.dll ComponentFac...
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: windowscodecs
1.7.1
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
http://www.devexpress.com/Home/try.xml
: dotnet, download
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-08-31 05:39 UTC by Anastasius Focht
Modified: 2013-11-15 13:39 UTC (History)
0 users

See Also:
Regression SHA1:
Fixed by SHA1: c6d62ff081410eed07b3e788c8c4539f0fc36b92
Distribution: ---
Staged patchset:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anastasius Focht 2013-08-31 05:39:14 UTC
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
Comment 1 Anastasius Focht 2013-08-31 05:40:26 UTC
Hello folks,

filling fields ...

$ wine --version
wine-1.7.1-67-gb37e733

$ du -sh DevExpressUniversalTrial-20130815.exe 
544K	DevExpressUniversalTrial-20130815.exe

$ sha1sum DevExpressUniversalTrial-20130815.exe 
e24daae976edc7d3cf77774e173ec30d8192fe30  DevExpressUniversalTrial-20130815.exe

Regards
Comment 2 Anastasius Focht 2013-09-18 17:17:28 UTC
Hello folks,

this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/c6d62ff081410eed07b3e788c8c4539f0fc36b92

Thanks Dmitry

Prerequisites for installer: 'winetricks -q dotnet40 corefonts'

Regards
Comment 3 Alexandre Julliard 2013-09-27 13:40:56 UTC
Closing bugs fixed in 1.7.3.
Comment 4 Alexandre Julliard 2013-11-15 13:39:48 UTC
Removing 1.6.x milestone from bugs included in 1.6.1.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers