Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

32 bit mode graphics in DOS

Posted on 1997-09-26
1
Medium Priority
?
327 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 100 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses
Course of the Month12 days, 6 hours left to enroll

971 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