Solved

Converting DOS based Pascal to Windows

Posted on 2003-11-17
2
522 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

With the rising number of cyber attacks in recent years, keeping your personal data safe has become more important than ever. The tips outlined in this article will help you keep your identitfy safe.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

617 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