Hello, I am having an issue running Altium Designer 23 with Wine. It installed normally, and I have also installed dotnet40, dotnet48, and msxml6 Winetricks. However, when I try Altium's executable, I get the error:
ShellExecuteEx failed: 0024:err:start:fatal_error FormatMessage failed
I have searched this forum and seen that this probably means I am trying to run a 32-bit application. However, Altium Designer 23 is 64-bit, so I am quite confused why I get this error. I am running MacOS Sonoma Beta 2 on an M1 MacBook Pro. I would greatly appreciate it if you have any suggestions on how to fix this!
Here is my complete terminal output:
esync: up and running.
007c:err:module:open_builtin_so_file failed to load .so lib
007c:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
0034:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1114
preloader: Warning: failed to reserve range 0000001400000000-0000001402ab3000
wine: failed to start L"C:\\Program Files\\Altium\\AD23\\X2.exe"
Application could not be started, or no application associated with the specified file.
ShellExecuteEx feilet: 0024:err:start:fatal_error FormatMessage failed
FormatMessage failed when trying to run exe
-
- Newbie
- Posts: 1
- Joined: Wed Jun 21, 2023 5:14 pm
Re: FormatMessage failed when trying to run exe
Hopefully this is relevant, or should I have started a new thread?
I'm getting the same error (ShellExecuteEx failed: 0024:err:start:fatal_error FormatMessage failed) when trying to run a completely different application. I'm running macOS Ventura, M1 MacBook Air & Intel Mac mini 2018, none of the official homebrew packages work (wine-stable, wine-devel, wine-staging from https://github.com/Gcenx/macOS_Wine_builds)
output (wine-devel 8.10):
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
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
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
wine: failed to start L"c:\\Program Files (x86)\\TypingMaster\\tmaster4.exe"
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: 0024:err:start:fatal_error FormatMessage failed
It's an old 32-bit application, but other 32-bit apps work fine.
Works well on the Linux version of Wine, and also used to work on Crossover on macOS 10.15 or newer (not sure if it was on an Intel or ARM machine, or which version of Crossover broke the app).
If someone wants to try to run this on their own computer, an archived trial version is available from https://archive.org/details/typmas46_zip, the only problem is that the installer is 16-bit.
I can upload/send tmaster4.exe (shows the same error without the data files) or the whole installed application (2 MB) if someone wants it and if that's ok?
I'm getting the same error (ShellExecuteEx failed: 0024:err:start:fatal_error FormatMessage failed) when trying to run a completely different application. I'm running macOS Ventura, M1 MacBook Air & Intel Mac mini 2018, none of the official homebrew packages work (wine-stable, wine-devel, wine-staging from https://github.com/Gcenx/macOS_Wine_builds)
output (wine-devel 8.10):
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
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
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
wine: failed to start L"c:\\Program Files (x86)\\TypingMaster\\tmaster4.exe"
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: 0024:err:start:fatal_error FormatMessage failed
It's an old 32-bit application, but other 32-bit apps work fine.
Works well on the Linux version of Wine, and also used to work on Crossover on macOS 10.15 or newer (not sure if it was on an Intel or ARM machine, or which version of Crossover broke the app).
If someone wants to try to run this on their own computer, an archived trial version is available from https://archive.org/details/typmas46_zip, the only problem is that the installer is 16-bit.
I can upload/send tmaster4.exe (shows the same error without the data files) or the whole installed application (2 MB) if someone wants it and if that's ok?
Re: FormatMessage failed when trying to run exe
OK, I tested: stopped working in CrossOver 22, used to work in CrossOver 21 (macOS Monterey VM (UTM.app) on an M1 MacBook Air).
Should I file a bug in WineHQ bugzilla?
Re: FormatMessage failed when trying to run exe
No; third party Wine versions are not supported here. Report problems with Crossover to Codeweavers.
Re: FormatMessage failed when trying to run exe
Sure, but this *is* a vanilla macOS Wine bug. The only reason I also mentioned the Linux version and CrossOver was because I found it interesting that this currently works on Linux and used to work on a version of macOS Wine (CrossOver 21).