mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
CtrlCore: Win32 removed default exception handlers (to allow debugger to do its work)
git-svn-id: svn://ultimatepp.org/upp/trunk@7296 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ac44d284ef
commit
c17f15d7fe
2 changed files with 5 additions and 8 deletions
|
|
@ -24,9 +24,6 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE, LPTSTR lpCmdLine, int nCmdS
|
|||
try { \
|
||||
GuiMainFn_(); \
|
||||
} \
|
||||
catch(Exc e) { \
|
||||
Panic(e); \
|
||||
} \
|
||||
UPP::Ctrl::ExitWin32(); \
|
||||
UPP::AppExit__(); \
|
||||
return UPP::GetExitCode(); \
|
||||
|
|
|
|||
|
|
@ -693,11 +693,11 @@ LRESULT CALLBACK Ctrl::WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
|
|||
LLOG(NFormat("T+%d %s 0x%08x 0x%08x -> %s", msecs(ticks), msgname, (int)wParam, (int)lParam, wname));
|
||||
#endif
|
||||
}
|
||||
catch(Exc e)
|
||||
{
|
||||
LOG("Uncaught exception in WindowProc: " << e);
|
||||
Panic("Uncaught exception in WindowProc: " + (String)e);
|
||||
}
|
||||
// catch(Exc e)
|
||||
// {
|
||||
// LOG("Uncaught exception in WindowProc: " << e);
|
||||
// Panic("Uncaught exception in WindowProc: " + (String)e);
|
||||
// }
|
||||
}
|
||||
else
|
||||
l = DefWindowProc(hWnd, message, wParam, lParam);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue