[Dev-C++] Windows exception handling
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <cg...@wo...> - 2003-06-21 17:04:24
|
How can I use the winAPI exception handlling functions?
It is
try{
... <<<code which has RaiseException() function
}
except (GetExceptionCode() == code){
...
}
Whenever I try to use this the compiler reports errors: either except is
not defined, or if I use __try and __except then it reports errors
before ) and from that line own it reports any variable defined in the
block as undefined.
I included the header excpt.h which seemed to have it but it didn't
work, and I activated an deactivated the support for exceptions in
compiler options (since it could happen a clash between C and Windows?
[that of try in both cases...])
Thank you in advance.
|