Re: Console application termination following exception thrown in constructor (VS 2005)

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Paul,
Thanks for your detailed explanation.

I will try to get that book for a good look.

Honestly I never used try... catch like this. When I use a third-party
class, I often use a wrapper class to encapsulate it so that I can control
and report errors. The try... catch statement is used in the wrapper class
and outside the creation of the class instance, so I can catch the errors
and make a decision how to handle it.

Thanks for using Microsoft Online Managed Newsgroup. Please feel free to
let me know if you need further assistance on this issue.

Have a great day!

Charles Wang
Microsoft Online Community Support

======================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================




.