-
Notifications
You must be signed in to change notification settings - Fork 2
/
Z_z_.cpp
39 lines (38 loc) · 1.41 KB
/
Z_z_.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
//---------------------------------------------------------------------------
USEFORM("MainFormU.cpp", MainForm);
USEFORM("ProcessUnits\ProcessFormU.cpp", ProcessForm);
USEFORM("PoiskForm\PoiskFormU.cpp", SearchForm);
USEFORM("ProcessUnits\ProcessInfmU.cpp", FormInfm);
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
try
{
Application->Initialize();
Application->CreateForm(__classid(TMainForm), &MainForm);
Application->CreateForm(__classid(TProcessForm), &ProcessForm);
Application->CreateForm(__classid(TSearchForm), &SearchForm);
Application->CreateForm(__classid(TFormInfm), &FormInfm);
Application->Run();
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
catch (...)
{
try
{
throw Exception("");
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
}
return 0;
}
//---------------------------------------------------------------------------