Browse CVS Repository
Contents of /autocoast/src/gui/AutoCoastGui.cpp
Parent Directory
| Revision Log
| Revision Graph
Revision 1.1 -
( show annotations)
( download)
( as text)
Fri Nov 12 19:10:12 2004 UTC
(19 years, 5 months ago)
by tmurakam
Branch: MAIN
CVS Tags: v0_3, v0_2, HEAD
File MIME type: text/x-c++src
initial
| 1 |
//--------------------------------------------------------------------------- |
| 2 |
|
| 3 |
#include <vcl.h> |
| 4 |
#pragma hdrstop |
| 5 |
//--------------------------------------------------------------------------- |
| 6 |
USEFORM("MForm.cpp", MainForm); |
| 7 |
//--------------------------------------------------------------------------- |
| 8 |
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) |
| 9 |
{ |
| 10 |
try |
| 11 |
{ |
| 12 |
Application->Initialize(); |
| 13 |
Application->Title = "AutoCoast"; |
| 14 |
Application->CreateForm(__classid(TMainForm), &MainForm); |
| 15 |
Application->Run(); |
| 16 |
} |
| 17 |
catch (Exception &exception) |
| 18 |
{ |
| 19 |
Application->ShowException(&exception); |
| 20 |
} |
| 21 |
catch (...) |
| 22 |
{ |
| 23 |
try |
| 24 |
{ |
| 25 |
throw Exception(""); |
| 26 |
} |
| 27 |
catch (Exception &exception) |
| 28 |
{ |
| 29 |
Application->ShowException(&exception); |
| 30 |
} |
| 31 |
} |
| 32 |
return 0; |
| 33 |
} |
| 34 |
//--------------------------------------------------------------------------- |
|