Antwort schreiben...
 
Themen-Optionen Thema durchsuchen
Alt 28.02.2017, 17:15   #31
emendelson
Registrierter Benutzer
I've now had the same problem on a laptop. Is it possible that the problem has something to do with the fact that I'm working with English-language versions of Windows?
emendelson ist offline   Mit Zitat antworten
Alt 28.02.2017, 22:32   #32
leecher
Moderator
Hi,
That also came to my mind that our Windows versions may differ, I only tested it with German language versions. But as it uses symbols for lookup, there shouldn't be a problem normally.
I created a debug version of ldntvdm that outputs a few informations via DbgView channel. So we can see if the BasepProcessInvalidImage handler gets called by the loader or not.
Debug output should be prefixed with LDNTVDM.
Maybe this gives me some insight what is happening on your machine.

Regards
Angehängte Dateien
Dateityp: zip ldntvdmd.zip‎ (15.0 KB, 20x aufgerufen)
leecher ist offline   Mit Zitat antworten
Alt 01.03.2017, 03:36   #33
emendelson
Registrierter Benutzer
Thank you for creating the debug version. Here is the log showing what happened when I tried to launch WordPerfect 5.1 for DOS. As you see, there seem to be two separate BasepProcessInvalidImageReal addresses. I don't have any idea of what all this means, but I hope it will help you in sorting this out.

If you want any other testing done, please ask. I would be delighted to get this working! It is a major accomplishment, and will make life easier for many of us.

EDIT: I forgot to add that I've tried running install.bat on four different systems, and was never able to run a 16-bit application. All the systems were English-language Windows 10 Pro.
Angehängte Dateien
Dateityp: zip WINTEN64.zip‎ (1.9 KB, 9x aufgerufen)
emendelson ist offline   Mit Zitat antworten
Alt 01.03.2017, 16:08   #34
leecher
Moderator
Interesting... According to the logs, it installs the hook for BasepProcessevalidImageReal correctly, but the hook never gets called then when processing an invalid image (i.e. DOS application) whereas on my system, this works fine.
The different addresses are normal as DLLs get loaded into different addresses in different processes, so that's nothing to worry about.
I can't imagine that KERNEL32.DLL differs in different language Versions of Windows 10.
If the memory for IAT wouldn't be writable, I guess this should result in an access violation which also isn't the case.

Now we have 2 options: As you said that you prepared a VMWare image, you can try to send me this image file of your OS image where it doesn't work so that I can check it.
Or you can set up remote access to your virtual machine for me where I can try to check it (maybe use Remote desktop connection protocol and do a port forwarding into the VM from Internet side?)

What do you think about these options? I need to analyse it with a debugger why the hook isn't working even though it has been correctly placed in KERNEL32.DLL.

Maybe we can arrange remote access via e-mail, you already got my e-mail address anyway
leecher ist offline   Mit Zitat antworten
Alt 01.03.2017, 16:49   #35
emendelson
Registrierter Benutzer
Hello Leecher. I'll be glad to supply a link to one of the VMware systems that I've got set up. I'm away from the office right now, but will use 7z to compress it and will send a Dropbox link by e-mail. Thank you!

P.S. Remote access would work also, but I have to be in and out of the office all day, so a VMware image may be easiest all round. I'll pack it up as tightly as I can!
emendelson ist offline   Mit Zitat antworten
Alt 01.03.2017, 21:16   #36
emendelson
Registrierter Benutzer
Hello again. I've sent you a link to a VMware system with US English Windows. Again, I'm very grateful to you for taking all this trouble and for preparing this ultra-valuable software in the first place!
emendelson ist offline   Mit Zitat antworten
Alt 02.03.2017, 01:50   #37
leecher
Moderator
1) It seems that in your VM, wow.reg was not registered properly. Therefore it always returned STATUS_VDM_DISALLOWED when trying to run a DOS application. I just re-ran install.bat and it then registered the missing wow.reg file and NTVDM launches then when run via explorer for example (except when searching directly in start menu which seems to have some diffrent code handler..??).
2) The version compiled by Olivier Poudade seems to have some problems on startup. It is also missing some required files. Seems he hasn't tested it yet. I ran my own compiled version and it worked fine in your VM.

Regards
leecher ist offline   Mit Zitat antworten
Alt 02.03.2017, 02:58   #38
emendelson
Registrierter Benutzer
Hello again - and a thousand thanks. This is simply amazing. I increased FILES = to 100 in both copies of config.nt, and I was able to run WordPerfect 5.1. It even printed to the LPT1 port on my system. I never expected to be able to do anything like this under 64-bit Windows. Sometimes it fails with strange error messages, but it usually works.

I can't run WordPerfect for DOS 6.x; all versions I tried produce an error from WP saying that the WP_WP_US.TRS file is the wrong format or version number. But I can't expect that to get fixed. This is still quite amazing in every way.

A million thanks!
emendelson ist offline   Mit Zitat antworten
Alt 02.03.2017, 09:16   #39
leecher
Moderator
Hello Edward,

I'm glad you were able to get it running and yo ulike it.
Of course it is not as fast as the original NTVDM on x86 due to the lack of V86 mode in x64, but better than nothing. I even got DOS Games running in window (which iirc. was not possible with the original NTVDM, as this one always tried to go to full screen and direct VGA for better performance).
Are the strange error messages produced by the NTVDM or by the DOS application running in it?

It tried to run WordPerfect 6.2 for DOS and it started without a problem in your VM... Interesting.
leecher ist offline   Mit Zitat antworten


Antwort schreiben...

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Open Access mit Windows 10 32+64 K. Barthel SPI OA4 Open Access II/III/IV (2,3,4) Anwender Forum 1 12.07.2016 15:49
Windows 10 November Update 1511 und der LPT Port ... waldbauer.com SPI OA4 Open Access II/III/IV (2,3,4) Anwender Forum 2 03.03.2016 07:40
Windows 10 Preview 32 Bit... waldbauer.com SPI OA4 Open Access II/III/IV (2,3,4) Anwender Forum 0 30.10.2014 15:14
OA IV OA4 mit Windows 8 Consumer Preview waldbauer.com SPI OA4 Open Access II/III/IV (2,3,4) Anwender Forum 0 01.03.2012 15:24
OA4 unter Windows XP mit Musik brauni SPI OA4 Open Access II/III/IV (2,3,4) Anwender Forum 1 16.08.2011 16:38