Solved

Language compiler

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

760 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

19 Experts available now in Live!

Get 1:1 Help Now