22 lines
645 B
C++
22 lines
645 B
C++
|
|
//---------------------------------------------------------------------------
|
||
|
|
#include <vcl.h>
|
||
|
|
#pragma hdrstop
|
||
|
|
USERES("SelfRef.res");
|
||
|
|
USEFORM("main.cpp", fmMain);
|
||
|
|
//---------------------------------------------------------------------------
|
||
|
|
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
|
||
|
|
{
|
||
|
|
try
|
||
|
|
{
|
||
|
|
Application->Initialize();
|
||
|
|
Application->CreateForm(__classid(TfmMain), &fmMain);
|
||
|
|
Application->Run();
|
||
|
|
}
|
||
|
|
catch (Exception &exception)
|
||
|
|
{
|
||
|
|
Application->ShowException(&exception);
|
||
|
|
}
|
||
|
|
return 0;
|
||
|
|
}
|
||
|
|
//---------------------------------------------------------------------------
|