-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird error when trying to run NTVDM.EXE for the first time #17
Comments
Any chance that you tried to launch ntvdm.exe directly? |
I did run ntvdm directly. BUT when trying to start a dos app(command.com for example) It says 16 bit is not supported? Have i installed it incorrectly? |
Please update your ldntvdm.dll for System32 and SysWOW64 with the newest versions from this repository, there is a change in Fall Creators Update that broke the loader. And then verify with process explorer, that the .dlls get loaded into every process on your system. If this isn't the case, check if AppInit_DLLs is working correctly. |
Yes install.bat ran smoothly. But do i seriously have to recompile everything with the new source code? I couldn't even compile it myself. The batch files keeped throwing errors on me. Then i found a compiled version on #7. |
Wow it worked. Thanks! |
Weird... looks like edit.com is displayed instead of executed.. Can you check if there are some errors displayed in DbgView console? |
I get a variety of errors when trying to run EDIT.COM: When I start it from WINDOWS\System32, it produces a blank window. When I first ran the WordPerfect ED.EXE, and then tried to run EDIT, it produced the same weird screen showing the content of the file (with the QBASIC string, etc.) The errors don't seem predictable. |
OK, running it in different locations does make a change, BUT, running it in the same place a couple of times gives the same output. All of the outputs that are in this post are all from C:\Users\anis1(My profile folder) So it is kinda predictable |
Hmn, this is weird... I tried to reproduce the problem, it always started up fine when launching from explorer.exe, but as soon as I launch it from a 32bit process, it starts to act strange. Can you confirm? Edit: Seems to surface only with the build from emendelson's ZIP package,not with my own build... Maybe he can try with an updated build? |
I've now replaced the copy of NTVDM.EXE in my ZIP archive, and the current version does not produce this problem. See issue 7 for the download page. |
Hmmm. The new zip didn't even load programs at all. I have checked dbgview and the dll's work properly. |
This could mean thta the ldntvdm.dll for 32bit isn't working properly. It needs to be injected into NTVDM.exe as well to patch CSRSS calls and if i.e. AppInit-Hook is not working there, you get the error with setting up environment. Did you only replace ntvdm.exe in system32 and syswow64 directory or did a complete reinstallation? |
I just installed the new ZIP on a Windows 10 machine that had never had NTVDMx64 installed before. It works perfectly. |
Closed due to no further response |
Hi, I'm getting this weird error when trying to load ntvdm.exe:
Both buttons do nothing.
BTW I am running Windows 10 Insider Preview 1709(Build 17017)
The text was updated successfully, but these errors were encountered: