mirror of https://github.com/buggins/dlangui.git
exception dump
This commit is contained in:
parent
359ac8d0ba
commit
7d0d4a4f01
|
@ -751,8 +751,13 @@ mixin template APP_ENTRY_POINT() {
|
||||||
extern (Windows) int WinMain(void* hInstance, void* hPrevInstance,
|
extern (Windows) int WinMain(void* hInstance, void* hPrevInstance,
|
||||||
char* lpCmdLine, int nCmdShow)
|
char* lpCmdLine, int nCmdShow)
|
||||||
{
|
{
|
||||||
|
try {
|
||||||
return DLANGUIWinMain(hInstance, hPrevInstance,
|
return DLANGUIWinMain(hInstance, hPrevInstance,
|
||||||
lpCmdLine, nCmdShow);
|
lpCmdLine, nCmdShow);
|
||||||
|
} catch (Exception e) {
|
||||||
|
Log.e("Exception: ", e);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue