mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
21 lines
609 B
C
21 lines
609 B
C
Vector<WString>& coreCmdLine__();
|
|
Vector<WString> SplitCmdLine__(const char *cmd);
|
|
|
|
void FBInit(HINSTANCE hInstance);
|
|
|
|
#define GUI_APP_MAIN \
|
|
void GuiMainFn_();\
|
|
\
|
|
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR lpCmdLine, int nCmdShow) \
|
|
{ \
|
|
UPP::coreCmdLine__() = UPP::SplitCmdLine__(UPP::FromSystemCharset(lpCmdLine)); \
|
|
UPP::AppInitEnvironment__(); \
|
|
UPP::FBInit(hInstance); \
|
|
AppExecute__(GuiMainFn_); \
|
|
Ctrl::ExitFB(); \
|
|
UPP::UsrLog("---------- About to delete this log of WinFB..."); \
|
|
UPP::DeleteUsrLog(); \
|
|
return UPP::GetExitCode(); \
|
|
} \
|
|
\
|
|
void GuiMainFn_()
|