Componentes.Terceros.jvcl/official/3.36/examples/JvPageListTreeView/BCB/PageListDemo.cpp
2009-02-27 12:23:32 +00:00

34 lines
1.1 KiB
C++

//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
//---------------------------------------------------------------------------
USEFORM("JvPageListTreeViewMainForm.cpp", JvPageListTreeViewMainFrm);
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
try
{
Application->Initialize();
Application->CreateForm(__classid(TJvPageListTreeViewMainFrm), &JvPageListTreeViewMainFrm);
Application->Run();
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
catch (...)
{
try
{
throw Exception("");
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
}
return 0;
}
//---------------------------------------------------------------------------