https://bugs.winehq.org/show_bug.cgi?id=45709
Bug ID: 45709 Summary: djkaty.com Simple2D demos v1.13 need support for IWICImagingFactory2, CLSID '{317d06e8-5f24-433d-bdf7-79ce68d8abc2}' Product: Wine Version: 3.14 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: windowscodecs Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
split off from bug 45708
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/DJKaty.com/Simple2D/examples
$ WINEDEBUG=+seh,+relay,+windowscodecs wine ./BitmapBrushDemo.exe >>log.txt 2>&1 ... 002e:Ret dwrite.DWriteCreateFactory() retval=00000000 ret=004057a3 002e:Call ole32.CoCreateInstance(00426c70,00000000,00000001,004262c8,0033fd60) ret=004057ee 002e:Call ntdll.RtlInitUnicodeString(0033f504,7dd601e0 L"\Registry\Machine\Software\Classes") ret=7dc93c71 002e:Ret ntdll.RtlInitUnicodeString() retval=0033f504 ret=7dc93c71 --- 002e:Call ntdll.RtlInitUnicodeString(0033f5a0,0033f5f2 L"CLSID\{317D06E8-5F24-433D-BDF7-79CE68D8ABC2}") ret=7dc93f02 002e:Ret ntdll.RtlInitUnicodeString() retval=0033f5a0 ret=7dc93f02 ... 002e:Call PE DLL (proc=0x7d510dd1,module=0x7d490000 L"windowscodecs.dll",reason=PROCESS_ATTACH,res=(nil)) ... 002e:Ret PE DLL (proc=0x7d510dd1,module=0x7d490000 L"windowscodecs.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1 002e:Ret KERNEL32.LoadLibraryExW() retval=7d490000 ret=7dc9405a ... 002e:Ret windowscodecs.DllGetClassObject() retval=80040111 ret=7dc96205 002e:err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111 for dll L"C:\windows\system32\windowscodecs.dll" 002e:Call advapi32.RegCloseKey(00000064) ret=7dc995f9 002e:Ret advapi32.RegCloseKey() retval=00000000 ret=7dc995f9 002e:err:ole:CoGetClassObject no class object {317d06e8-5f24-433d-bdf7-79ce68d8abc2} could be created for context 0x1 002e:Ret ole32.CoCreateInstance() retval=80040111 ret=004057ee 002e:Call user32.MessageBoxA(00000000,004266ac "There was a problem setting up the WIC Imaging factory",004265a0 "Simple2D Error",00000000) ret=00405808 --- snip ---
App sources:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/DJKaty.com/Simple2D
$ grep -Hrni IWICImagingFactory2 ... src/Simple2DLib.h:1787: IWICImagingFactory2 *ImageFactory;
$ cat src/Simple2D.cpp
...
// Create Direct2D resources // Device-independent resources last for the lifetime of the application // Device-dependent resources are associated with a particular rendering device and will cease to function if that device is removed HRESULT Simple2D::CreateDeviceIndependentResources() { // Create a Direct2D factory if (!Direct2D) { D2D1_FACTORY_OPTIONS options; ZeroMemory(&options, sizeof(D2D1_FACTORY_OPTIONS));
HRReturnOnFail( D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, __uuidof(ID2D1Factory1), &options, reinterpret_cast<void **>(&Direct2D)), "There was a problem setting up the Direct2D factory"); }
// Create a DirectWrite factory if (!TextFactory) HRReturnOnFail( DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, __uuidof(TextFactory), reinterpret_cast<IUnknown **>(&TextFactory)), "There was a problem setting up the DirectWrite factory");
// Create a Windows Imaging factory if (!ImageFactory) HRReturnOnFail( CoCreateInstance(CLSID_WICImagingFactory, NULL, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&ImageFactory)), "There was a problem setting up the WIC Imaging factory"); ... --- snip ---
https://docs.microsoft.com/en-us/windows/desktop/api/wincodec/nn-wincodec-iw...
$ sha1sum Simple2DSetup-1.13.exe 269c002fb9ea11c2abd8958fc3cc4294af1b45d9 Simple2DSetup-1.13.exe
$ du -sh Simple2DSetup-1.13.exe 11M Simple2DSetup-1.13.exe
$ wine --version wine-3.14-161-g70fbfa2cb8
Regards
https://bugs.winehq.org/show_bug.cgi?id=45709
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://files.djkaty.com/sof | |tware/Simple2D/ Keywords| |download, source
https://bugs.winehq.org/show_bug.cgi?id=45709
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=45709
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |bunglehead@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=45709
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Sent a patch for this one, https://www.winehq.org/pipermail/wine-devel/2018-September/132979.html.
https://bugs.winehq.org/show_bug.cgi?id=45709
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |45708
https://bugs.winehq.org/show_bug.cgi?id=45709
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Assignee|bunglehead@gmail.com |wine-bugs@winehq.org Fixed by SHA1| |82c82e8c45c50b7e73b6290cbbd | |fb66d886515d8 Resolution|--- |FIXED
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- This is fixed, 82c82e8c45c50b7e73b6290cbbdfb66d886515d8.
https://bugs.winehq.org/show_bug.cgi?id=45709
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.18.
https://bugs.winehq.org/show_bug.cgi?id=45709
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=45709
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #4 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bug fixes included in 3.0.5.
https://bugs.winehq.org/show_bug.cgi?id=45709
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://files.djkaty.com/sof |https://web.archive.org/web |tware/Simple2D/ |/20201227155621if_/http://f | |iles.djkaty.com/software/Si | |mple2D/Simple2DSetup-1.13.e | |xe