Solved

Language compiler

Posted on 1997-06-27
2
261 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VS2015 compilation and missing DLLs 9 181
sorting efficency of sorting algorithm 30 129
Dialogbox API leak? 18 108
passing data from one form to another form in c++ 27 87
  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 …
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 pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

685 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