leecher1337 / ntvdmx64

Run Microsoft Windows NTVDM (DOS) on 64bit Editions
780 stars 80 forks source link

Run from Explorer.exe #192

Closed peter8777555 closed 2 years ago

peter8777555 commented 2 years ago

I can run DOS programs from CMD console and it works well.

When i double clicks DOS programs from Explorer.exe(Windows 7 X64)

Show error message

The version of this file is incompatible with the version of Windows you are running. Please check your computer's system information to determine if you need an x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.

Can i run DOS programs from Explorer.exe ?

leecher1337 commented 2 years ago

Maybe AppInitDLL key is missing or ther e is another reason why ldntvdm.dll isn't injected in either 32bit or 64bit explorer.exe or there is a problem patching explorer.exe. As always, use DebugView to check if there is an execution error when loading the DOS application (in case ldntvdm.dll is injected into explorer.exe correctly), or if ldntvdm.dll isn't present in explorer.exe at all. To check presence of ldntvdm.dll in target Process, Process Explorer can show you the loaded modules of a process.

peter8777555 commented 2 years ago

To check presence of ldntvdm.dll in target Process, Process Explorer can show you the loaded modules of a process.

Yes,you are right. I kill Explorer.exe and restart Explorer.exe It works well from Explorer.exe

Thank you.