Solved

BGI graphics not supported in Windows.

Posted on 2000-02-23
2
461 Views
Last Modified: 2008-03-04
Hello. I am using Borland Turbo C++ 4.5. (Yes, it's rather old.) My books must be even older, because I entered this code with function calls like _setvideomode( ) and _getvideoconfig( ). Stuff like that.

But when I compile the program, I get the message "BGI graphics not supported in Windows." Well, what are BGI graphics? Why aren't they supported in Windows? How do I get around this? Should I get MS Visual C++ instead? Or should I be developing in DOS using Borland C / C++ 3.1?

Thank you one and all!
Rich
0
Comment
Question by:slipster70
2 Comments
 
LVL 5

Accepted Solution

by:
laeuchli earned 50 total points
ID: 2552696
You can't use BGI in windows, because windows offers GDI, and I suspect the two conflict. Get some new books and buy VC++.
0
 
LVL 14

Expert Comment

by:AlexVirochovsky
ID: 2553262
Or make you project in DOS(with BC 3.1)
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

777 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