Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (36 sloc) 1.3 KB
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
//---------------------------------------------------------------------------
USEFORM("UnitFormSpaceHarryGame.cpp", FormSpaceHarryGame);
USEFORM("UnitFormSpaceHarryGameOver.cpp", FormSpaceHarryGameOver);
USEFORM("UnitFormSpaceHarryMenu.cpp", FormSpaceHarryMenu);
USEFORM("UnitFormSpaceHarryAbout.cpp", FormSpaceHarryAbout);
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
try
{
Application->Initialize();
Application->Title = "Space Harry";
Application->CreateForm(__classid(TFormSpaceHarryMenu), &FormSpaceHarryMenu);
Application->Run();
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
catch (...)
{
try
{
throw Exception("");
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
}
return 0;
}
//---------------------------------------------------------------------------
You can’t perform that action at this time.