1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- //---------------------------------------------------------------------------
- #include <vcl.h>
- #pragma hdrstop
- #include <tchar.h>
- #include "AppGlobalF.h"
- //---------------------------------------------------------------------------
- USEFORM("FrmTestMainF.cpp", VmsTestMain);
- USEFORM("FrmTestSubF.cpp", FrmTestSub);
- //---------------------------------------------------------------------------
- WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
- {
- if (!ApplicationSingleRun("TVmsTestMain", "VMS Test ÇÁ·Î±×·¥")) {
- return 0;
- }
- try
- {
- ReportMemoryLeaksOnShutdown = true;
- Application->Initialize();
- Application->MainFormOnTaskBar = true;
- Application->Title = "VMSt ¿î¿µ ÇÁ·Î±×·¥";
- Application->CreateForm(__classid(TVmsTestMain), &VmsTestMain);
- Application->Run();
- }
- catch (Exception &exception)
- {
- Application->ShowException(&exception);
- }
- catch (...)
- {
- try
- {
- throw Exception("");
- }
- catch (Exception &exception)
- {
- Application->ShowException(&exception);
- }
- }
- return 0;
- }
- //---------------------------------------------------------------------------
|