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

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. Tells me to contact the developer and get
support. Except that I am the developer, and I wrote when I should
have been doing class work (the original was written on the Honeywell,
then ported to Turbo Pascal.)
A quick search shows me that Borland is no longer supporting Turbo
Pascal, so, recommendation for a Pascal compiler for Windows 7?
I thought about running the source code through a conversion
program, and "porting it" to C/C+, C++ DC++=&#, but then I'd have to
know C* to clean up the results. And find a C compiler, too.

so, recommendation for a Pascal compiler for Windows 7?

tschus
pyotr

*I started to port the code to C, instead of doing _that_ classwrok,
but I don't have that source code at all. Maybe on a 5 1/4 floppy,
somewhere. In a box marked Mag Media.


Never used it (nor Pascal much) but my recollection is that Delphi
superceded Object Pascal. I don't remember back to Turbo Pascal to
remember if it encompassed the object paradigm. There are Delphi
newsgroups where you could inquire about converting Turbo Pascal to
Delphi. Unless you know C++, I would think moving from Turbo Pascal to
Delphi would be more familiar to you.

You sure the problem isn't with the bitwidth of your [compiled] Pascal
code? Windows 7 32-bit would support both 32-bit programs and by using
its WOW (Windows on Windows) emulator it can also run 16-bit programs.
However, if you have Windows 7 64-bit then it runs only 64-bit programs
and 32-bit programs using its WOW.

https://en.wikipedia.org/wiki/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 get this same message whether the compatibility mode is set for
XP (sp3), XP (sp2), Windows 98/ME, or Windows 95, Windows NT 4.0
(Service Pack 5).

So, as far as I can tell, This is a wee bit past antiquated. Hmmm,
compiled 10/17/1995. I am now wondering if this was compiled under
DOS 6? I.e,is a sixteen bit program?

I am now


I think it was. I remember using Turbo Pascal back then. You'll need x86
32 bit to even run it. I think the object oriented version ("OOPS") of
Turbo Pascal came out later, like in versions 5 or 6 (IIRC), and then
finally, Borland Delphi came out and superceded it. I loved Turbo Pascal
just for writing some basic programs for myself, and the fact that it was
nearly self documenting (to some extent), at least in comparison to C, which
is more cryptic.


Ads