Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / exception

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. exception
#4047
Posted by: 2004-05-06 16:42:21
Hi,

I tried to catch exception in my wxWidgets application but it didn't succeed:
int MyApp::MainLoop()
{
   int retour;
   try
   {
      retour=wxApp::MainLoop();
   }
   catch(const CErreur& e)
   {
               wxLogError("Exception");
   }
   catch(...)
   {
           wxLogError("Defaut");
   }
   return retour;
}

Has anyone an idea about why it doesn't work?

thank you for your help
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥738.00 ·
 
 
¥1,480.00 ·
 
 
¥397.00 ·
 
 
¥950.00 ·
 
 
¥264.00 ·
 
 
¥1,005.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0