https://bugs.winehq.org/show_bug.cgi?id=49379
Bug ID: 49379 Summary: d2d1.dll.D2D1CreateDevice is unimplemented Product: Wine Version: 5.10 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: d2d Assignee: wine-bugs@winehq.org Reporter: me+wine@shane.sh Distribution: ---
Created attachment 67439 --> https://bugs.winehq.org/attachment.cgi?id=67439 The crash report generated by Altium
I'm trying to get Altium Designer 20 running in wine. I'm using wine-staging 5.10 with the msxml6 and dotnet461 winetricks. These are necessary to get the application to start (and wine-staging because it includes a fix for https://bugs.winehq.org/show_bug.cgi?id=46568).
However, the problem is that when I try to actually open a file, it crashes with the following being printed to STDERR:
wine: Call from 0x7b0317a8 to unimplemented function d2d1.dll.D2D1CreateDevice, aborting
Altium's own crash report seems to confirm that this is the problem (attached).
I don't really know anything about DirectX, or Windows programming at all, but I don't think it should be too hard to implement this stub. Wine's dlls/d2d1/device.c does have a function called d2d_device_init, and my guess would be that D2D1CreateDevice would mostly just be a wrapper around that. But my naive attempt to implement that didn't work so it's quite likely I'm missing something important.
Any help would be appreciated.