Borland Turbo Pascal 7.0 graphics not working on windows XP

Posted on 2004-11-16
Last Modified: 2012-06-21
Hi all!
I need to write a program in Turbo Pascal which uses Graphics, however I cannot make it work on Windows XP.  
I could partition the hard disk and install also windows98 however I still need the program to run on XP.
Can anyone help please?


Question by:saskya75
    LVL 7

    Expert Comment

    Could you clarify "not working"? Are you getting an error message, freeze, or what?

    Author Comment

    I'm getting a graphics not initialised error - the program works fine on windows98.  I checked the path of the bgi files on my computer and it is correct
    LVL 100

    Expert Comment

    Since Turbo Pascal was for MS DOS, is it compatible with Win XP?


    Author Comment

    everything else other than the graph unit seems to work.  I was wondering whether anyone experienced the same problem with the graph unit.

    LVL 17

    Accepted Solution

    I think you'll have to check the compatibility options in XP and adjust them for your application. Furthermore, forget about using DOS applications within Windows XP because MS doesn't want to support DOS applications anymore.
    You could download VMWare from and install it. Then you can create a virtual machine and run your executable within this virtual machine. (After you've installed DOS or Windows on this virtual machine.)

    Also keep in mind that Turbo Pascal is over a decade old now. It's still in use at some places but it's not really useful these days, unless you also have antiquated hardware... ;-)

    Author Comment

    I need to finsh an assignment in Pascal so i don't  really have a choice.  

    Thanks for your helpful hints


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    SQL Query issue 13 392
    Delphi 2007 printer setup problem 8 739
    How to capture screen window of a process 4 392
    ddeman not working in activex 3 65
    Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
    For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    728 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

    20 Experts available now in Live!

    Get 1:1 Help Now