View Single Post
  #14  
Old March 16th 19, 01:19 AM posted to alt.windows7.general
Bill in Co[_3_]
external usenet poster
 
Posts: 303
Default Wierd question - a pascal compiler for WIn7???

Java Jive wrote:
On 15/03/2019 23:33, pyotr filipivich wrote:

VanguardLH on Fri, 15 Mar 2019 15:06:54 -0500 typed in
alt.windows7.general the following:

pyotr filipivich wrote:

This is the current problem: I have a program written in Pascal
and Windows 7 won't run it. Windows_on_Windows

You didn't mention the bitwidth of your Windows 7 instance. Also,
"won't run it" does not say what really happens, like the actual error
code.


Sorry,. "I thought everybody knew..." Windows 7 Pro 64 bit.

Error message
"The version of this file is not compatible with the version of
Windows you're running. Check you computer's system information to see
whether you need an x86(32-bit) or x64(64-bit) version of the program,
and then contract the software publisher."

I am now wondering if this was compiled under
DOS 6? I.e,is a sixteen bit program?


That is almost certainly your problem. If you can find a PC to run
turbo Pascal, you might be able to compile a 32-bit version, and so get
a working version ... Or was Turbo Pascal itself only 16-bit - TBH,
it's so long ago that I can't remember?!

As others have mentioned, Pascal morphed into Delphi, so a 32-bit Delphi
compiler may be able to compile your original source code with little or
no tweaks being required.


Pretty sure it was 16 bit, as it was DOS based. My belief is an older Win
XP 32 bit PC running a DOS shell could run it. As I recall, the 32 bit
computers can run 16 bit code, but not the 64 bit versions, which is one
reason I got a 32 bit version of Windows 7, and by choice. Another reason
was the singularity in where user programs are installed - always in the one
and only, Program Files directory (unlike in the x64 versions).


Ads