Support windows 10 applications with wine 8.0

Questions about Wine on Linux
cpkautz
Level 2
Level 2
Posts: 48
Joined: Fri Apr 07, 2023 10:06 am

Support windows 10 applications with wine 8.0

Post by cpkautz »

Is that possible?

Thanks,

cpkautz
cpkautz
Level 2
Level 2
Posts: 48
Joined: Fri Apr 07, 2023 10:06 am

Re: Support windows 10 applications with wine 8.0

Post by cpkautz »

I get the message that the program is no longer supported under windows 7.
cpkautz
Level 2
Level 2
Posts: 48
Joined: Fri Apr 07, 2023 10:06 am

Re: Support windows 10 applications with wine 8.0

Post by cpkautz »

I have ubuntu 22.04.2 and wine-8.0.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Support windows 10 applications with wine 8.0

Post by jkfloris »

You can modify the Windows version with

Code: Select all

winecfg -v win10
cpkautz
Level 2
Level 2
Posts: 48
Joined: Fri Apr 07, 2023 10:06 am

Re: Support windows 10 applications with wine 8.0

Post by cpkautz »

Thanks. Where do I have to enter this? In the terminal?
cpkautz
Level 2
Level 2
Posts: 48
Joined: Fri Apr 07, 2023 10:06 am

Re: Support windows 10 applications with wine 8.0

Post by cpkautz »

Thank you very much. It works.
cpkautz
Level 2
Level 2
Posts: 48
Joined: Fri Apr 07, 2023 10:06 am

Re: Support windows 10 applications with wine 8.0

Post by cpkautz »

Now I have the problem that the tax software does not communicate with the Internet. I want to submit the tax return. The program stops when I submit it.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Support windows 10 applications with wine 8.0

Post by jkfloris »

Is the tax software the same as in this bug?
cpkautz
Level 2
Level 2
Posts: 48
Joined: Fri Apr 07, 2023 10:06 am

Re: Support windows 10 applications with wine 8.0

Post by cpkautz »

Yes, that could be. see also the other topic from me "problem with win tax software".
Thanks.
cpkautz
Level 2
Level 2
Posts: 48
Joined: Fri Apr 07, 2023 10:06 am

Re: Support windows 10 applications with wine 8.0

Post by cpkautz »

YES, this is the Bug! Buhl Software "Steuer Sparer 2023" von Lidl has problems by submit the tax return to elster. What can I do?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Support windows 10 applications with wine 8.0

Post by jkfloris »

You can see if the solution mentioned in the bug works.
https://bugs.winehq.org/show_bug.cgi?id=51139#c49

A version of d2d1.dll can be found in Service Pack 1 of Windows 7
cpkautz
Level 2
Level 2
Posts: 48
Joined: Fri Apr 07, 2023 10:06 am

Re: Support windows 10 applications with wine 8.0

Post by cpkautz »

Thanks. Should I install the service pack with Q4Wine?
cpkautz
Level 2
Level 2
Posts: 48
Joined: Fri Apr 07, 2023 10:06 am

Re: Support windows 10 applications with wine 8.0

Post by cpkautz »

How can I extract the dll from the cab file? i need the good d2d1.dll and then replace it in ../system32.
invisible kid
Level 5
Level 5
Posts: 368
Joined: Tue Dec 24, 2019 3:23 pm

Re: Support windows 10 applications with wine 8.0

Post by invisible kid »

Hopefull this will help/work:

https://wiki.winehq.org/Expand

It looks like the command would be:

wine expand <name>.cab d2d1.dll

then d2d1.dll should be in the current directory to move or copy
cpkautz
Level 2
Level 2
Posts: 48
Joined: Fri Apr 07, 2023 10:06 am

Re: Support windows 10 applications with wine 8.0

Post by cpkautz »

Code: Select all

007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
d2d1.dll has the same size as the source file.

The source file is an .exe not a .cab file. sorry.
cpkautz
Level 2
Level 2
Posts: 48
Joined: Fri Apr 07, 2023 10:06 am

Re: Support windows 10 applications with wine 8.0

Post by cpkautz »

In the meantime I have downloaded the d2d1.dll from the website https://de.dll-files.com/d2d1.dll.html and replaced it in ../system32. Without success.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Support windows 10 applications with wine 8.0

Post by jkfloris »

Extract the exe file with cabextract

Code: Select all

cabextract -F */d2d1.dll windows6.1-KB976932-X64.exe
This provides two d2d1.dll files.
Place the 32 bit version in c:\windows\syswow64
the 64 bit version in c:\windows/system32
Start the application with:

Code: Select all

WINEDLLOVERRIDES="d2d1=n" wine program.exe
cpkautz
Level 2
Level 2
Posts: 48
Joined: Fri Apr 07, 2023 10:06 am

Re: Support windows 10 applications with wine 8.0

Post by cpkautz »

Unfortunatly.
Bildschirmfoto vom 2023-04-13 11-55-03.png
Bildschirmfoto vom 2023-04-13 11-55-03.png (8.53 KiB) Viewed 8605 times
cpkautz
Level 2
Level 2
Posts: 48
Joined: Fri Apr 07, 2023 10:06 am

Re: Support windows 10 applications with wine 8.0

Post by cpkautz »

is that correct: 32 bit version in ../syswow64 and 64 bit version in ../system32 ?
invisible kid
Level 5
Level 5
Posts: 368
Joined: Tue Dec 24, 2019 3:23 pm

Re: Support windows 10 applications with wine 8.0

Post by invisible kid »

"An error has occurred in your application. Do you still want to continue?" Unfortunately doesn't help at all. Since I have no logs I would just try to switch locations and see if that works. From the bug thread it seems this 100% should work, so something is wrong.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Support windows 10 applications with wine 8.0

Post by jkfloris »

is that correct: 32 bit version in ../syswow64 and 64 bit version in ../system32 ?
As strange as it may seem, it is true.

Code: Select all

windows/system32$ file ntdll.dll 
ntdll.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows, 19 sections

windows/syswow64$ file ntdll.dll 
ntdll.dll: PE32 executable (DLL) (console) Intel 80386, for MS Windows, 17 sections
Since I have no logs
Me neither. Could you post a terminal output?
cpkautz
Level 2
Level 2
Posts: 48
Joined: Fri Apr 07, 2023 10:06 am

Re: Support windows 10 applications with wine 8.0

Post by cpkautz »

Code: Select all

0114:fixme:font:get_nearest_charset TCI failing on 20000000
0114:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 20000000 file = L"\\??\\Z:\\usr\\share\\fonts\\truetype\\fonts-gujr-extra\\aakar-medium.ttf"
0114:fixme:font:get_nearest_charset TCI failing on 20000000
0114:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 20000000 file = L"\\??\\Z:\\usr\\share\\fonts\\truetype\\fonts-gujr-extra\\aakar-medium.ttf"
0114:fixme:resource:GetGuiResources (FFFFFFFF,0): stub
0114:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
0114:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 2221ED28.
0114:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
0114:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 2221ED28.
0114:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
0114:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 2221ED28.
0114:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
0114:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 2221ED28.
QPainter::end: Painter ended with 2 saved states
QWidget::repaint: Recursive repaint detected
cpkautz
Level 2
Level 2
Posts: 48
Joined: Fri Apr 07, 2023 10:06 am

Re: Support windows 10 applications with wine 8.0

Post by cpkautz »

after click:

Code: Select all

QPainter::end: Painter ended with 2 saved states
0058:fixme:nsi:ipv6_forward_enumerate_all not implemented
0108:fixme:win:GetPointerDevices (018DCF50 00000000): partial stub
0108:fixme:system:QueryDisplayConfig (00000002 018DCE70 332F1CA8 018DCE6C 1C5F1758 00000000): semi-stub
0058:fixme:nsi:ipv6_forward_enumerate_all not implemented
0108:fixme:system:NtUserDisplayConfigGetDeviceInfo Unimplemented packet type 11.
0164:fixme:wlanapi:WlanEnumInterfaces (00000001, 00000000, 2A5CDB78) semi-stub
0058:fixme:nsi:ipv6_forward_enumerate_all not implemented
0058:fixme:nsi:ipv6_forward_enumerate_all not implemented
cpkautz
Level 2
Level 2
Posts: 48
Joined: Fri Apr 07, 2023 10:06 am

Re: Support windows 10 applications with wine 8.0

Post by cpkautz »

I got a little further. i'am looking for:

Code: Select all

d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format
and found the topic: viewtopic.php?t=37081

Code: Select all

sudo apt-get install libgl1-mesa-glx:i386
I do not get the error window now. I can submit the forms now. unfortunately they are partially empty. I will send a test to the tax office.
invisible kid
Level 5
Level 5
Posts: 368
Joined: Tue Dec 24, 2019 3:23 pm

Re: Support windows 10 applications with wine 8.0

Post by invisible kid »

So far so good!
unfortunately they are partially empty
From one problem to the next! Good luck, it's looking good.
Locked