Solved

Converting DOS based Pascal to Windows

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now