2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
15 extern int game_main(const char *szCmdLine);
18 int PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int nCmdShow)
24 result = game_main(szCmdLine);
26 __except(RecordExceptionInfo(GetExceptionInformation(), "Freespace 2 Main Thread"))
28 // Do nothing here - RecordExceptionInfo() has already done
29 // everything that is needed. Actually this code won't even
30 // get called unless you return EXCEPTION_EXECUTE_HANDLER from
31 // the __except clause.