Problem running Fortran exec in DOS window

  • Thread starter Thread starter Rick Baker
  • Start date Start date
R

Rick Baker

I'm having difficulty running a FORTRAN executable in a
Windows XP Pro from the MSDOS window command prompt. The
program was coded in FORTRAN IV for the Sun Workstation
and was compiled using the Microsoft Powerstation 32 bit
FORTRAN compiler, Version 1.0. This is obviously an old
executable, but worked properly in Windows 95, which was
the last time I used it.

I get the error message:

"The procedure entry point RtlExAllocateHeap could not be
located in the dynamic link library ntdll.dll."

Does anybody have any idea how I can get this executable
to run? Any help would be much appreciated.
 
The problem is that the function being called doesn't exist in the ntdll.dll
in these versions

RtlAllocateHeap exists
RtlExAllocateHeap doesn't exist

For more info try asking in the developer newsgroups
news://msnews.microsoft.com/microsoft.public.fortran

Regards
Mark Dormer
 
Rick said:
I'm having difficulty running a FORTRAN executable in a
Windows XP Pro from the MSDOS window command prompt. The
program was coded in FORTRAN IV for the Sun Workstation
and was compiled using the Microsoft Powerstation 32 bit
FORTRAN compiler, Version 1.0. This is obviously an old
executable, but worked properly in Windows 95, which was
the last time I used it.

I get the error message:

"The procedure entry point RtlExAllocateHeap could not be
located in the dynamic link library ntdll.dll."

It would appear that the compiler made use of an interface that has been
dropped (it may have had a definition restricted to Win 95 and not the
NT series that XP is part of). Aside from getting it recompiled under a
compiler that uses the current APIs, all I can suggest is getting a copy
of that dll from a win95 machine and putting it in the same folder as
the executable concerned. Provided that the shortcut to the program has
its Properties set so it 'Starts in' that folder, there is a good
possibility that it will pick up that version - and a less good one that
the result will not crash things.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top