Solved

Catching System Errors

Posted on 1999-01-26
3
233 Views
Last Modified: 2010-04-16
How can I capture a windows system error with borland c++ 3.1 for windows?  
0
Comment
Question by:dondiego
  • 2
3 Comments
 
LVL 22

Expert Comment

by:nietod
ID: 1185208
Does Borland C++ 3.1 support "Structured Exception Handling"  (Look it up on the help).
0
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 200 total points
ID: 1185209
Structured exception handling is Win32 specific and hence does not exist in BC 3.1.

You will need to use the ToolHelp function: NotifyRegister() to catch windows error. You should also look into SetErrorMode() to catch other types of errors.
0
 
LVL 22

Expert Comment

by:nietod
ID: 1185210
>> Structured exception handling is Win32 specific and hence does not exist in BC 3.1.
Why not?  Doesn't BC 3.1 produce win32 apps?
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

Suggested Solutions

Title # Comments Views Activity
Handling string inputs in C/Linux 23 179
Modify static variables within a class in VC++ 3 95
C++ standard library based binary archive format 6 90
Least Squares Curve Fitting 4 57
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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.

937 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

10 Experts available now in Live!

Get 1:1 Help Now