git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.DevExpressVCL@7 05c56307-c608-d34a-929d-697000501d7a
39 lines
1.2 KiB
C++
39 lines
1.2 KiB
C++
//---------------------------------------------------------------------------
|
|
|
|
#include <vcl.h>
|
|
#pragma hdrstop
|
|
//---------------------------------------------------------------------------
|
|
USERES("ConvertDBGridDemo.res");
|
|
USEFORM("ConvertDBGridDemoMain.cpp", ConvertDBGridDemoMainForm);
|
|
USEFORM("ConvertDBGridDemoData.cpp", ConvertDBGridDemoDataDM); /* TDataModule: File Type */
|
|
USEFORM("..\AboutDemoForm.cpp", formAboutDemo);
|
|
//---------------------------------------------------------------------------
|
|
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
|
|
{
|
|
try
|
|
{
|
|
Application->Initialize();
|
|
Application->Title = "ExpressQuantumGrid ConvertDBGrid Demo";
|
|
Application->CreateForm(__classid(TConvertDBGridDemoDataDM), &ConvertDBGridDemoDataDM);
|
|
Application->CreateForm(__classid(TConvertDBGridDemoMainForm), &ConvertDBGridDemoMainForm);
|
|
Application->Run();
|
|
}
|
|
catch (Exception &exception)
|
|
{
|
|
Application->ShowException(&exception);
|
|
}
|
|
catch (...)
|
|
{
|
|
try
|
|
{
|
|
throw Exception("");
|
|
}
|
|
catch (Exception &exception)
|
|
{
|
|
Application->ShowException(&exception);
|
|
}
|
|
}
|
|
return 0;
|
|
}
|
|
//---------------------------------------------------------------------------
|