|
From: Daniel G. <sp...@ho...> - 2002-07-24 14:05:49
|
Can somebody help me out with this?
// Default constructor
AddPrinterDialog::AddPrinterDialog()
{
}
How do I get it to throw an exception is construction fails? I tried using
try
{
ClassPointer = new AddPrinterDialog;
}
catch (...)
{
//... code here
}
in the constructor's body but I got into an assertion loop (as code here was
PostQuitMessage).
Any ideas?????
Daniel
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
|