|
|
@ -1558,6 +1558,7 @@ LONG WINAPI plCustomUnhandledExceptionFilter( struct _EXCEPTION_POINTERS *Except |
|
|
|
return EXCEPTION_EXECUTE_HANDLER; |
|
|
|
return EXCEPTION_EXECUTE_HANDLER; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "pfConsole/pfConsoleEngine.h" |
|
|
|
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nCmdShow) |
|
|
|
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nCmdShow) |
|
|
|
{ |
|
|
|
{ |
|
|
|
// Set global handle
|
|
|
|
// Set global handle
|
|
|
@ -1677,6 +1678,12 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nC |
|
|
|
return PARABLE_NORMAL_EXIT; |
|
|
|
return PARABLE_NORMAL_EXIT; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/////////<<<<<<<<
|
|
|
|
|
|
|
|
pfConsoleEngine *tempConsole = TRACKED_NEW pfConsoleEngine(); |
|
|
|
|
|
|
|
tempConsole->ExecuteFile("server.ini"); |
|
|
|
|
|
|
|
delete tempConsole; |
|
|
|
|
|
|
|
/////////<<<<<<<<
|
|
|
|
|
|
|
|
|
|
|
|
NetCliAuthAutoReconnectEnable(false); |
|
|
|
NetCliAuthAutoReconnectEnable(false); |
|
|
|
|
|
|
|
|
|
|
|
NetCommSetReadIniAccountInfo(!doIntroDialogs); |
|
|
|
NetCommSetReadIniAccountInfo(!doIntroDialogs); |
|
|
|