otya128 / winevdm

16-bit Windows (Windows 1.x, 2.x, 3.0, 3.1, etc.) on 64-bit Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some apps can't be run natively despite having winevdm installed

FerdinandoPH opened this issue · comments

Describe the bug
Some Windows 1.0 apps do not run when opened natively through the explorer. They must be run going to the winevdm folder, running winevdm explicitly and selecting the old exe (as if winevdm's install shortcut had not been run). Opening the windows 1.0 apps through winedvm explicilty returns this error code: 0ea4:err:module:build_module exe type is not windows or windows/386. (typ:00, ver:0000), but the app opens normally. The apps I'm using can be found at the attached zip.
winapps.zip

Expected behavior
I expected the windows 1.0 apps to run directly when being clicked on at the explorer, instead of needing to drag them to winevdm

Screenshots
image
image

Environment (please complete the following information):

  • OS: Windows 11 23H2
  • Winevdm version: 2497

Additional context
Add any other context about the problem here.

It is very helpful to provide a trace file if possible.
Please note that this file contains detailed information about the program.

I was only able to generate a trace.txt when running the command otvdm clock.exe. Simply running clock.exe would return a warning saying that the program isn't compatible with 64 bit windows: Esta versión de D:\Users\perez\Desktop\Hacks\pc\otvdm-master-2497\CLOCK.EXE no es compatible con la versión de Windows que está ejecutando. Compruebe la información de sistema del equipo y después póngase en contacto con el anunciante de software.

trace.txt

This isn't a bug with winevdm it's a bug in Windows itself. Winevdm depends on ntvdm64.dll which is loaded by kernel32.dll to see if the file is a win16 program but Windows 1.0 programs get misidentified as OS/2 1.x and so rejected. Since ntvdm64.dll is a Windows system file winevdm doesn't have any way to fix it.

Maybe Windhawk can fix it?

I noticed this too. Windows 1.0 programs can also be run using the version of MS-DOS Executive from Windows 3.0 available on Web Archive, in addition to dragging them to otvdm or opening them in otvdmw.exe. Windows 2.0 programs can be run directly.