Solved

32 bit mode graphics in DOS

Posted on 1997-09-26
1
322 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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.

752 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