• PE requiring dosxnt.exe

    From mutazilah@gmail.com@21:1/5 to All on Mon Jun 19 17:23:32 2023
    I recently bought Visual C++ 1.0 from ebay on 3.5"
    floppies.

    If I run the cl.exe on the floppies under Windows 10
    it refuses to run.

    If I run beta2fix on it, it crashes.

    If I run the patched cl.exe on Win 95, it says it requires
    dosxnt.exe. Which presumably means it is not being
    recognized as a PE file, and going through the DOS
    extender (Phar Lap) codepath.

    I can see the PE signature. Any idea why it wouldn't
    be accepted?

    Thanks. Paul.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Auric__@21:1/5 to muta...@gmail.com on Wed Jun 21 03:13:12 2023
    muta...@gmail.com wrote:

    I recently bought Visual C++ 1.0 from ebay on 3.5"
    floppies.

    If I run the cl.exe on the floppies under Windows 10
    it refuses to run.

    If I run beta2fix on it, it crashes.

    If I run the patched cl.exe on Win 95, it says it requires
    dosxnt.exe. Which presumably means it is not being
    recognized as a PE file, and going through the DOS
    extender (Phar Lap) codepath.

    I can see the PE signature. Any idea why it wouldn't
    be accepted?

    A couple questions...
    1. Are you running 64-bit Windows?
    2. Which edition of VC? (It sounds like Professional, not Standard or NT.)

    FWIW, the one I have has a Phar Lap DOS stub that prevents my install of Win
    10 x64 from recognizing it as a valid PE, despite my own tools identifying it as a "Windows PE program (i386, Console subsystem)". I haven't tested it on a 32-bit install, but I expect it would work there, one way or another.

    --
    (yes, I sorted a sorting algorithm)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From mutazilah@gmail.com@21:1/5 to All on Tue Jun 20 21:51:47 2023
    On Wednesday, June 21, 2023 at 11:13:15 AM UTC+8, Auric__ wrote:

    I can see the PE signature. Any idea why it wouldn't
    be accepted?

    A couple questions...
    1. Are you running 64-bit Windows?

    Windows 10 64-bit has a crash visible in event viewer.

    Windows 95 32-bit looks for dosxnt.

    2. Which edition of VC? (It sounds like Professional, not Standard or NT.)

    I have 20 3.5" floppies, and the first disk has this:

    1993-02-08 12:57 0 VC100PRO._01
    1993-02-08 01:01 114,484 PACKING.TXT

    And the physical label on the floppy confirms that it is
    professional, 1.0.

    So yes.

    FWIW, the one I have has a Phar Lap DOS stub that prevents my install of Win 10 x64 from recognizing it as a valid PE, despite my own tools identifying it
    as a "Windows PE program (i386, Console subsystem)". I haven't tested it on a
    32-bit install, but I expect it would work there, one way or another.

    If you run beta2fix it will probably be recognized on your
    win10 system. You need to run beta2fix because it uses
    non-existent (now) functions in ntdll.dll.

    BFN. Paul.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From mutazilah@gmail.com@21:1/5 to muta...@gmail.com on Tue Jun 20 22:28:08 2023
    On Wednesday, June 21, 2023 at 12:51:48 PM UTC+8, muta...@gmail.com wrote:

    If you run beta2fix it will probably be recognized on your
    win10 system. You need to run beta2fix because it uses
    non-existent (now) functions in ntdll.dll.

    Sorry for the sloppy English.

    I believe it is the change in the minor system number
    that beta2fix does that is what allows it to be
    recognized, not the ntdll.dll fixup.

    beta2fix can be found here:

    https://ftpmirror.your.org/pub/misc/ftp.microsoft.com/developr/fortran/public/B2FIX.EXE

    BFN. Paul.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)