36 lines
1016 B
C++
36 lines
1016 B
C++
|
|
//---------------------------------------------------------------------------
|
||
|
|
|
||
|
|
#include <vcl.h>
|
||
|
|
#pragma hdrstop
|
||
|
|
//---------------------------------------------------------------------------
|
||
|
|
USERES("EQGrid4ReportLink.res");
|
||
|
|
USEFORM("EQGrid4RLMain.cpp", EQGrid4RLMainForm);
|
||
|
|
//---------------------------------------------------------------------------
|
||
|
|
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
|
||
|
|
{
|
||
|
|
try
|
||
|
|
{
|
||
|
|
Application->Initialize();
|
||
|
|
Application->Title = "ExpressQuantumGrid4 EQGrid4ReportLink Demo";
|
||
|
|
Application->CreateForm(__classid(TEQGrid4RLMainForm), &EQGrid4RLMainForm);
|
||
|
|
Application->Run();
|
||
|
|
}
|
||
|
|
catch (Exception &exception)
|
||
|
|
{
|
||
|
|
Application->ShowException(&exception);
|
||
|
|
}
|
||
|
|
catch (...)
|
||
|
|
{
|
||
|
|
try
|
||
|
|
{
|
||
|
|
throw Exception("");
|
||
|
|
}
|
||
|
|
catch (Exception &exception)
|
||
|
|
{
|
||
|
|
Application->ShowException(&exception);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return 0;
|
||
|
|
}
|
||
|
|
//---------------------------------------------------------------------------
|