Solved

Language compiler

Posted on 1997-06-27
2
251 Views
Last Modified: 2011-10-03
I have created a project in Borland C++ 3.0 (DOS version) on a windows NT machine.  Every time I run the project I get a terminate error because my compiler is 16 bit dependant.
What can I do to fix this and get rid of the error???
0
Comment
Question by:rnolan
2 Comments
 
LVL 4

Expert Comment

by:AVaulin
ID: 1164156
That is not because your program is 16 bit. That is because you use some things which disable to use under Windows, for example you can't work with ports. You must give more information what does your DOS program do and show some code. Or give me (I'm at av@protec.kiev.ua) your sources. I'll describe you what a problem. Good luck.
0
 
LVL 3

Accepted Solution

by:
vinniew earned 50 total points
ID: 1164157
Been there.

In addition to what AVaulin said, you'll need to set up a .pif file for the BC++ compiler.  You need to emulate DOS as closely as possible without pissing off NT.  I did that to get rid of an error that happened each time I quit out of BC++.

Hope that helps.
V

0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

  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 …
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 tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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…

813 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

10 Experts available now in Live!

Get 1:1 Help Now