leecher1337 / ntvdmx64

Run Microsoft Windows NTVDM (DOS) on 64bit Editions
793 stars 81 forks source link

Error while setting up environment for the application #89

Closed c4artisan closed 4 years ago

c4artisan commented 4 years ago

the error: pe happens to me while trying to execute apps, example: pcman, hocus pocus game h e l p n o w

leecher1337 commented 4 years ago

Looks like 32bit Loaded from syswow64 directory isn't injected properly. To diagnose the issue, try Process Explorer to check if ldntvdm.dll gets injected into 32bit console Processes (including ntvdm.exe). If ldntvdm.dll was injected properly, use Sysinternals DbgView to check for log messages of the loader.

c4artisan commented 4 years ago

wah wat? i am not experienced on this so i need you to explain me how to do that lol

c4artisan commented 4 years ago

i have process hacker, its similar to process explorer, but different

leecher1337 commented 4 years ago

First ensure, that ldntvdm.dll is present in Windows\Syswow64 directory. Some stupid Antivirus applications tend to block it.

Next, download https://docs.microsoft.com/en-us/sysinternals/downloads/debugview and Capture Win32, start your DOS application and paste output here (ldntvdm tells you what it is doing during startup. If i.e. it cannot resolve Symbols from Microsoft Symbol server, it will tell you).

If NTVDM.exe is runnig and sitting there with the error message shown above, open Process explorer or Process hacker, go to the ntvdm.exe process and show its loaded Moduls (the DLLs it has in its address space, like kernel32.dll, ntdll.dll, etc.). Ensure, that ldntvdm.dll is also in that list.

c4artisan commented 4 years ago

OHHHHHHHHH

c4artisan commented 4 years ago

lol avast had deleted ldntvdm.dll thanks for help