0

My Borland C++ vresion 3.1 isn't working. It works with simpler codes, but it doesn't works with graphics and animations. Is there any settings that will make Borland work? I'm using Windows 7 but the same happened with Vista and XP also, so help? Please?
Thank you all!!!

5
Contributors
9
Replies
10
Views
7 Years
Discussion Span
Last Post by gibson.elliot.5
0

My Borland C++ vresion 3.1 isn't working. It works with simpler codes, but it doesn't works with graphics and animations. Is there any settings that will make Borland work? I'm using Windows 7 but the same happened with Vista and XP also, so help? Please?
Thank you all!!!

Use a newer compiler, such as Visual C++ Express or Code::Blocks.

0

Yes, that would be easy, but my teacher asks for graphics and animations in Borland. I've tried higher versions of Borland, but no, it has to be 3.1. So any solutions?
Thanks

0

It compiles good, but when I try to run it, it shows errors like this:

Linker Error: Undefined symbol _initgraph in module GRAPH.CPP

And more errors like _setcolor, _sector, _outtextxy...
I'm setting the graph driver like this:

int gdriver=0; gmode;
initgraph(&gdriver,&gmode, "C//BorlandC//BGI");

Any help?

0

I've tried 5.2, but still the same error with the graphics.h.

0

I can see that BGI is not compatible with newer versions of Windows. So I've read in your forum that I can use dosbox, and I tried it only it finds many more errors like "cannot open math.h file" and so.
Someone tried this methode?

0

I can see that BGI is not compatible with newer versions of Windows. So I've read in your forum that I can use dosbox, and I tried it only it finds many more errors like "cannot open math.h file" and so.
Someone tried this methode?

I've never tried it and I don't have your compiler, but check and make sure any PATH related settings or variables can see your library directories and (I haven't used it in a while so maybe it has changed but)make sure you have your computer's directories "mounted" into the Dosbox filesystem.

0

Unfortunately I'm likely too late to help, but Win2k was the last best platform for running this version of the compiler and DOS programs in general. Funny that I find myself now maintaining Borland 3.1 compiled code. Regrettab;y, I have the packaged help files, but also need the doc. I am able to successfuully build my DOS aps under this compiler on WinXp, I wouldn't try to run it though. There are however even to this day DOS environments available for free, try one, it might help.

0

I am able to successfuully build my DOS aps under this compiler on WinXp, I wouldn't try to run it though.

Why not? I've successfully built and run Turbo 1.0 graphics code in WinXP.

0

Too many bad experiences with legacy code, so many of my old favorite games just bombed for one reason or another. Thats all.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.