Solved

Language compiler

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

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

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

828 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