$ wine my_app.exe
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
wine: Bad EXE format for Z:\home\user\my_app.exe
enigo wrote: ↑Sun Jan 24, 2021 4:20 pm
Any idea how to run a win32 app on a Raspberry Pi 4 (arm64)?
You can't with just Wine, as Wine does not do CPU emulation. Some users have managed to get it working with QEMU. The most recent post about that is viewtopic.php?f=8&t=34849.
I found this an interesting topic so I searched the net a little. The link below is for installing Windows 10 for arm64 architecture (not intel/amd), but I personally think it would be more of a test or development platform than what people might be wanting. The following guide also talks about the ONLY way to get a LEGAL copy of Windows for ARM is to download from Microsoft and BUILD the iso.
I tried the 2nd option but the download was blocked by Microsoft Edge saying the download might harm my computer. Just to be forewarned there may be more to it.
I'm not sure just exactly how much software might be able to run on that version of Windows as it is for ARM.
If you follow the above, it would no longer involve wine and as such anyone wanting to do this should see Pi support groups.
Turns out it wasn't completely blocked. It turned out to be Windows Defender - why I don't know since I'm running real-time protection from Malwarebytes. At any rate, had to tell Windows Defender it was ok to continue and save the download. Same thing happened when I tried to run it initially but it eventually ran ok and created the ISO. I sold all of my Pi's thinking an Amazon Fire TV Cube would work better - wow was I wrong on that!! When I can save the money I'm going to buy another one and try this out - it has me curious!
Any idea how to run a win32 app on a Raspberry Pi 4 (arm64)?
You can't with just Wine, as Wine does not do CPU emulation
Some users have managed to get it working with QEMU. The most recent post about that is viewtopic.php?f=8&t=34849.
im also waiting solution of this topic. there are so many limitation for example QEMU due to lack of ptrace support, etc.