Solved

Language compiler

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
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 how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

867 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

23 Experts available now in Live!

Get 1:1 Help Now