Solved

32 bit mode graphics in DOS

Posted on 1997-09-26
1
303 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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

772 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

11 Experts available now in Live!

Get 1:1 Help Now