Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

32 bit mode graphics in DOS

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
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 how to clear a vector as well as how to detect empty vectors in C++.

688 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