Solved

Converting DOS based Pascal to Windows

Posted on 2003-11-17
2
518 Views
Last Modified: 2010-04-16
I have a program which was written years ago in DOS Turbo Pascal. It is on a Windows 95 machine but its getting old and sluggish. Can anyone advise how this can be converted to a more up to date version of Windows e.g. XP and what I would need to achieve this.

Many thanks

James
0
Comment
Question by:jflah
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Accepted Solution

by:
bcladd earned 50 total points
ID: 9763052
Turbo Pascal 5.5 (available for free from borland.com) can compile executables that run on WinXP machines. Note that there are features that do NOT work on faster machines. I don't know the final status of BGI, for example, but for a while fast clock speeds made BGI-based programs lose their minds. If your program interacts directly with the hardware you may well have problems, too.

Now if the question is how do I move an old, DOS looking program to the GUI age, I would look long and hard at a current version of Delphi. You are in for more rewriting rather than porting in this case and you may still have problems directly moving hardware-centric code to Win32.

Hope this helps, -bcl
0
 

Expert Comment

by:soen-anita
ID: 9775699
It work on Windows Xp. If you compile the source code and received 'error division by zero'
it means something wrong with BGI. You can patch your code.
For further information, see this link
http://www.brain.uni-freiburg.de/~klaus/pascal/runerr200/

May help you

Me..
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Postmortem reporting allow us to examine mistakes in a way that focuses on the situational aspects of a failure’s mechanism and the decision-making process of individuals proximate to the failure. Read our guide on how to handle IT post-mortem repor…
Popular third-party chat platforms like Slack, Discord, and Telegram are just a few of the many new productivity applications that are being hijacked by cybercriminals to create command-and-control (C&C) communications infrastructures for their malw…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question