Solved

Using Turbo C++ 3.0 on Windows NT 4.0

Posted on 1997-03-01
1
437 Views
Last Modified: 2008-03-17
I am currently using Windows NT 4.0. I have 32megs of memory and
a 200Mh chip. I installed Borland's Turbo C++ Version 3.0 without
any problems. When I enter the IDE I am able to create, edit and
save my program.

When I exit out of C++ I get the following error message:

Command Prompt - tc

X#-0B, CS=00C7 IP=00001E55. The NTVDM cpu had encountered an
unhandled exeception.

At this point my options are
        Terminate    or    Ignore

If I click on Ignore I remain with the same error messsage. So
I must terminate.

I don't have a clue why this is happening.
Any ideas?

Thanks!
0
Comment
Question by:Ebrown2
1 Comment
 
LVL 3

Accepted Solution

by:
os012897 earned 100 total points
ID: 1161984
Well ... this question would better be posted in the WindowsNT-
Setup group ... I think that there are more NT-freaks hanging
around and chance of a good answer were bigger..... but anyways
I'll try my best!

The exception in NTVDM-cpu indicates an error in the NT-virtual
dos machine. NT has for every dos-program a virtual-dos-machine,
which consists of an "own cpu" and a complete dos-memory en-
vironment. This "own cpu" for each dos-program is realized by
switching the cpu in a special mode where it simulates multiple
8086 cpu's. Htough this virtual dos machine simulates dos usually
pretty good it is still not a real dos, that is also why dos-
programs with direct hardware-access (e.g. games with graphics)
do not work.
In your case I would guess that Turbo C++ 3.0 has some minor
incompatibility, though it is very interesting that you can
work with it like saving and compiling, but that it crashes on
exit.
Hmmm .... maybe it has problems writing the configuration file
to the disk?? Ever tried to disable saving the ide-settings on
exit?
Anyhow, the ide seems to do something on exit, that the VDM of
NT does not like ...... and I am afraid that the possibility to
change that are pretty low. :(

Sorry that is not the clue to solve the problem ... but maybe you
have some new ideas on what could be wrong.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
  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 …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

706 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

21 Experts available now in Live!

Get 1:1 Help Now