23 lines
732 B
C++
23 lines
732 B
C++
|
|
//---------------------------------------------------------------------------
|
||
|
|
#include <vcl\vcl.h>
|
||
|
|
#pragma hdrstop
|
||
|
|
//---------------------------------------------------------------------------
|
||
|
|
USERES("B1_RAEditorTest.res");
|
||
|
|
USEFORMNS("fRAEditorTest.pas", Fraeditortest, Editor);
|
||
|
|
//---------------------------------------------------------------------------
|
||
|
|
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
|
||
|
|
{
|
||
|
|
try
|
||
|
|
{
|
||
|
|
Application->Initialize();
|
||
|
|
Application->CreateForm(__classid(TEditor), &Editor);
|
||
|
|
Application->Run();
|
||
|
|
}
|
||
|
|
catch (Exception &exception)
|
||
|
|
{
|
||
|
|
Application->ShowException(&exception);
|
||
|
|
}
|
||
|
|
return 0;
|
||
|
|
}
|
||
|
|
//---------------------------------------------------------------------------
|