Git Product home page Git Product logo

Comments (16)

leecher1337 avatar leecher1337 commented on August 21, 2024

Any chance that you tried to launch ntvdm.exe directly?
ntvdm cannot be run directly, obviousy. You need ldntvdm.dll to inject into the operating system loader and start a DOS application so that the OS loader can setup environment correctly.

from ntvdmx64.

AEAEAEAE4343 avatar AEAEAEAE4343 commented on August 21, 2024

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?

from ntvdmx64.

leecher1337 avatar leecher1337 commented on August 21, 2024

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.
Did you install it with the install.bat and did it run through smoothy?

from ntvdmx64.

AEAEAEAE4343 avatar AEAEAEAE4343 commented on August 21, 2024

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.
EDIT: Found the patched lntvdm.dll's. Gonna try them out now

from ntvdmx64.

AEAEAEAE4343 avatar AEAEAEAE4343 commented on August 21, 2024

Wow it worked. Thanks!

from ntvdmx64.

AEAEAEAE4343 avatar AEAEAEAE4343 commented on August 21, 2024

I get an error when trying to run edit (BTW Sorry for dutch command prompt)

When trying to run edit from command.com i just see this:

from ntvdmx64.

leecher1337 avatar leecher1337 commented on August 21, 2024

Weird... looks like edit.com is displayed instead of executed.. Can you check if there are some errors displayed in DbgView console?
Also, does ntvdm.exe execute fine? Do other DOS-programs work fine or are they also doing weird things? What does it do if you execute QBASIC.EXE?

from ntvdmx64.

AEAEAEAE4343 avatar AEAEAEAE4343 commented on August 21, 2024

Can you check if there are some errors displayed in DbgView console?

How do I do this?

What does it do if you execute QBASIC.EXE?

Plain black screen, nothing happens

EDIT: Figured it out, here are the results:
WITH CMD.EXE
3
WITH COMMAND.COM
4
I think it's missing the msdos font.

from ntvdmx64.

emendelson avatar emendelson commented on August 21, 2024

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.

from ntvdmx64.

AEAEAEAE4343 avatar AEAEAEAE4343 commented on August 21, 2024

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

from ntvdmx64.

leecher1337 avatar leecher1337 commented on August 21, 2024

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?

from ntvdmx64.

emendelson avatar emendelson commented on August 21, 2024

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.

from ntvdmx64.

AEAEAEAE4343 avatar AEAEAEAE4343 commented on August 21, 2024

Hmmm. The new zip didn't even load programs at all. I have checked dbgview and the dll's work properly.
But now i get the initial error of this post. Not only when trying to run NTVDM.EXE but also stuff like COMMAND and EDIT.

from ntvdmx64.

leecher1337 avatar leecher1337 commented on August 21, 2024

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.
Please check with Process monitor if ldntvdm.dll is also injected into NTVDM.EXE after NTVDM starts.
Verify, that ldntvdm.dll is listed in key AppInit_DLLs in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\Windows node in the registry.

Did you only replace ntvdm.exe in system32 and syswow64 directory or did a complete reinstallation?
Just replacing the .exe files would have been enough in this case.
Maybe something went wrong during installation. To do a complete reinstallation cycle, you can uninstall via Control Panel application list, then reboot and then install again and reboot again.

from ntvdmx64.

emendelson avatar emendelson commented on August 21, 2024

I just installed the new ZIP on a Windows 10 machine that had never had NTVDMx64 installed before. It works perfectly.

from ntvdmx64.

leecher1337 avatar leecher1337 commented on August 21, 2024

Closed due to no further response

from ntvdmx64.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.