Solved

Catching System Errors

Posted on 1999-01-26
3
235 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Building cUrl in Windows v7.43.0 4 36
java inner class, for the sole use of parameter passing 21 77
PDF library for Delphi 2 128
I could not build boost code, 10 95
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…
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…
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 be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

861 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