home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 May
/
Chip_2002-05_cd1.bin
/
chplus
/
cpp
/
3
/
hra.exe
/
swat.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1998-02-09
|
1KB
|
34 lines
//----------------------------------------------------------------------------
//Borland C++Builder
//Copyright (c) 1987, 1998 Borland International Inc. All Rights Reserved.
//----------------------------------------------------------------------------
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
//---------------------------------------------------------------------------
USEFILE("readme.txt");
USEFORM("swatmain.cpp", SwatForm);
USEFORM("about.cpp", AboutBox);
USEFORM("options.cpp", OptionsDlg);
USERES("swat.res");
//---------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
try
{
Application->Initialize();
Application->Title = "Swat!";
Application->CreateForm(__classid(TSwatForm), &SwatForm);
Application->CreateForm(__classid(TAboutBox), &AboutBox);
Application->CreateForm(__classid(TOptionsDlg), &OptionsDlg);
Application->Run();
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
return 0;
}
//---------------------------------------------------------------------------