Catch(exception)
-
Hi All How can i Use AfxmessBox through Catch(exception)?Plz help me i have code like this
try{
//Something here
}
catch(exception er)
{
AfxmessBox(er)
}Plz help me
By calling exception::what() maybe ?
try
{
//Something here
}
catch(exception er)
{
AfxmessBox(er.what());
}Cédric Moonen Software developer
Charting control [v1.5] OpenGL game tutorial in C++ -
By calling exception::what() maybe ?
try
{
//Something here
}
catch(exception er)
{
AfxmessBox(er.what());
}Cédric Moonen Software developer
Charting control [v1.5] OpenGL game tutorial in C++Cedric Moonen wrote:
try{ //Something here}catch(exception er){ AfxmessBox(er.what());}
plz hlp. i m getting err.
ERROR - 404 - Undefined Method 'AfxmessBox' - txtpsk detected!!!!!!
what is next, kidz coding in txtspk :rolleyes: :wtf: :omg: X|Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
-
By calling exception::what() maybe ?
try
{
//Something here
}
catch(exception er)
{
AfxmessBox(er.what());
}Cédric Moonen Software developer
Charting control [v1.5] OpenGL game tutorial in C++Cedric Moonen wrote:
AfxmessBox(er.what());
New Api i think :-)... I think this must be AfxMessageBox()
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
-
Cedric Moonen wrote:
AfxmessBox(er.what());
New Api i think :-)... I think this must be AfxMessageBox()
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
Yeah, but I just copy/pasted his code :) Programmers are lazy you know...
Cédric Moonen Software developer
Charting control [v1.5] OpenGL game tutorial in C++