winevdm icon indicating copy to clipboard operation
winevdm copied to clipboard

Feature request: 16-bit DLL thunking

Open WindowsNinetyTen opened this issue 10 months ago • 7 comments

Would it be possible to make WineVDM interact also with 32-bit programs that use 16-bit DLLs and thunk them to the programs?

WindowsNinetyTen avatar Oct 23 '23 17:10 WindowsNinetyTen

It's possible but would be rather difficult. Even Microsoft themselves didn't try to make that work in ntvdm. Winevdm would have to be able to load itself into other win32 processes.

cracyc avatar Oct 23 '23 17:10 cracyc

I understand. I just thought that this could help fix compatibility issues with these programs. Guess that I shall just have to try to fix them myself!

WindowsNinetyTen avatar Oct 23 '23 17:10 WindowsNinetyTen

On another note, I'd like to say that it's nice how WineVDM runs certain programs better than NTVDM. For example, some programs have sound working in WineVDM, but not in NTVDM.

WindowsNinetyTen avatar Oct 23 '23 19:10 WindowsNinetyTen

Still, it would be a way to fix compatibility problems with 32-bit programs that use 16-bit DLLs!

WindowsNinetyTen avatar Oct 31 '23 19:10 WindowsNinetyTen

Maybe add a way to launch win32 programs via OTVDM so that the programs runs normally (aka as a regular win32 program), but can load win16 dlls.

kristibektashi avatar Nov 18 '23 18:11 kristibektashi

Another question: Does setting WINVER to 4.9 set the program to Windows Me mode? Also, why can't I run Windows 1.x programs by clicking on the files, but I can when I use MS-DOS Executive?

Update: Answer to second question here now found in: https://github.com/otya128/winevdm/issues/1387#issuecomment-2009737518

Still, as I just said, they can be run by using the MS-DOS Executive from Windows 3.0, or by dragging them onto otvdmw.exe.

WindowsNinetyTen avatar Dec 14 '23 22:12 WindowsNinetyTen