Skip to content
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

Cannot start 16-bit application from other 16-bit application #28

Open
CAHbKA-IV opened this issue Nov 29, 2018 · 5 comments
Open

Cannot start 16-bit application from other 16-bit application #28

CAHbKA-IV opened this issue Nov 29, 2018 · 5 comments

Comments

@CAHbKA-IV
Copy link

How to reproduce error:

  1. Run command.com
  2. In the command prompt enter "qbasic".

As result will be popup windows with information, that operating system cannot run this application, needed 64-bit application.

If I start 16-bit app from 32-bit or 64-bit app, it runs fine.

@leecher1337
Copy link
Owner

Seems to be a race condition with the new conhost -> Process injector, will have a look at it

leecher1337 added a commit that referenced this issue Dec 2, 2018
… CMD.EXE don't go into an alertable wait state upon execution, therefore injection of DLL is not done in time, this causing bug #28 - "Cannot start 16-bit application from other 16-bit application ".

It's now fixed by hijacking the main thread of the target process and injecting loader in time (hopefully).
@leecher1337
Copy link
Owner

Should be fixed now, please rename \windows\system32\ldntvdm.dll -> ldntvdm1.dll (to delete it after reboot), and place new https://github.com/leecher1337/ntvdmx64/tree/master/ntvdmpatch/release/ldntvdm/system32/ (6.1 for Win7, 10.0 for win10) ldntvdm.dll there. Should hopefully work now, please report back if it fixed it for you.

@leecher1337
Copy link
Owner

Please replace all loaders, as the 32bit loader has been updated too (do the same as above, but also for Windows\syswow64 directory with file from https://github.com/leecher1337/ntvdmx64/tree/master/ntvdmpatch/release/ldntvdm/syswow64). You can also try to a reinstall, if more convenient.

@ohharsad
Copy link

ohharsad commented Dec 4, 2018

Please replace all loaders, as the 32bit loader has been updated too (do the same as above, but also for Windows\syswow64 directory with file from https://github.com/leecher1337/ntvdmx64/tree/master/ntvdmpatch/release/ldntvdm/syswow64). You can also try to a reinstall, if more convenient.

hi @leecher1337 issue solve by replacing with updated ldntvdm.dll. fresh install is highly recommended.
thanks! and i appreciate your help.

OS: Windows Server 2008 R2 Enterprise 64bit
Running: NTVDM process from Oracle Form 6i

@0x6A7232
Copy link

0x6A7232 commented Nov 2, 2020

Can no longer find
old-sdk.trunk_r57.20150728.7z
old-src.trunk.r687.20150728.7z
On the interwebs, archive.org, TPB, or other. Found perhaps in a Google Drive link bug big bro Gewgs says it's infected and no one is allowed to download except the owner now. So, uh, if someone could share the file with me, I'm not sure how, but my contact info is joshuaprichards at teh gewgles or at teh protons - Discord is jr2 / 0x6A7232 numbers are seven, four, five, one
Or if someone knows an appropriate search term to bring them up now that the filenames won't?
Thanks.
EDIT: found it, the useful search term was:
OpenNT sdk src
on the BetaArchive forum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants