Hi

> TRY\CATCH are the original macros that you used to handle 
> exceptions.  It also has a END_CATCH.  They are perfectly correct and 
> valid macros for catching exceptions.  I think that END_CATCH does 
> the deleting.  

There are very few macros that are perfectly correct in C++! ;-)

The macros are certainly not standard C++, so are not valid outside of 
MSVC.

> Any Cexception derived exception has a Delete() member 
> and I believe it is that that should be called. But I am unsure.

That sounds like a good reason not to use CException to me.

> Version 6 (or possibly 4?) of visual c++ introduced the keywords try 
> and catch. I am positive that the books I have read on exceptions 
> refer to deleting the exceptions thrown unless you are using the 
> macros.

Which books? It must be books on MSVC, not C++.

Regards
Paul

Paul Grenyer
Email: [EMAIL PROTECTED]
Web: http://www.paulgrenyer.co.uk

Have you met Aeryn: http://www.paulgrenyer.co.uk/aeryn/?
Version 0.3.0 beta now available for download.



_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription 
changes, and list archive.

Reply via email to