Solved

Catching System Errors

Posted on 1999-01-26
3
232 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
Comment Utility
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
Comment Utility
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
Comment Utility
>> 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

  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 …
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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 learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

762 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

6 Experts available now in Live!

Get 1:1 Help Now