Martin Payne development@martinpayne.me.uk writes:
Added support for Windows 1.x / 2.x menu resources to LoadMenuIndirect16. The format of these are slightly different from Windows 3.x menus which causes them to fail to load.
Where did you find an app that needs this?
Hi Alexandre,
Where did you find an app that needs this?
The applications which come with Windows 2, or Petzold's first edition menu examples will demonstrate this. For example the Windows 2 Terminal application warns "version must be 0 for Win16" and the menus fail to load without the patch applied. I can provide the source and / or binary for a trivial Windows 2 application I've written which demonstrates this behaviour if you would like it. If so, please let me know how you would like me to send it.
Regards, Martin
"Martin Payne" development@martinpayne.me.uk writes:
Hi Alexandre,
Where did you find an app that needs this?
The applications which come with Windows 2, or Petzold's first edition menu examples will demonstrate this. For example the Windows 2 Terminal application warns "version must be 0 for Win16" and the menus fail to load without the patch applied. I can provide the source and / or binary for a trivial Windows 2 application I've written which demonstrates this behaviour if you would like it. If so, please let me know how you would like me to send it.
Mainly I find it interesting that Windows 2 apps still work, it probably hasn't been tested in 20 years. Apart from the menu issue, are other things looking OK?
Hi Alexandre,
Mainly I find it interesting that Windows 2 apps still work, it probably hasn't been tested in 20 years. Apart from the menu issue, are other things looking OK?
A few applications crash at startup with a null pointer dereference. I'd need to read up some more on Wine debugging to understand why. Icon and cursor resources don't load, but like with the menus it's just because the format is slightly different. It shouldn't be difficult to add support for that as most of the required code is already in Wine. Other than that, it's surprising how ~30 year old applications can still work on a modern OS!
Regards, Martin