Solved

32 bit mode graphics in DOS

Posted on 1997-09-26
1
313 Views
Last Modified: 2012-06-21
I recently acquired Borland C++ 4.5 and was going to try out Ground up Graphics graphics library but I can't get it to compile right.  If I compile to DOS code, it gives an error saying "32 bit mode instruction detected", if I change the compile options to "allow 32 bit mode", it seems to get further but says it can't find math287.h.. or similar.  I can't find a header file anywhere by this sort of name.  Do I need to get Borland's PowerPack for DOS or is there something simple that escapes me?  287 is probably significant as a Math coprocessor which may have something to with float math being enabled?  Suggestions please...
0
Comment
Question by:jason_brown
1 Comment
 
LVL 3

Accepted Solution

by:
gaohong earned 50 total points
ID: 1170416
If you use graphics Lib. you can only compile it as DOS 16bit
program, so check compiler and linker settings.

If you specify 32bit mode, then you have to compiler as console
application. You can not use Borland graphics lib. Besides that
BC4.5 had some problem to successfuly generate 32 bit application.  

good luck
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

809 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