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
|
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
USERES("InstallMgr.res");
USEFORM("MainFrm.cpp", MainForm);
USELIB("..\BibleCS\swordlib.lib");
USEFORM("StatusFrm.cpp", StatusForm);
USEFORM("RemoteMntFrm.cpp", RemoteMntForm);
USEFORM("InfoFrm.cpp", InfoForm);
USEFORM("cipherfrm.cpp", CipherForm);
USEFORM("UninstallFrm.cpp", UninstallForm);
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
try
{
Application->Initialize();
Application->Title = "Install Manager";
Application->CreateForm(__classid(TMainForm), &MainForm);
Application->CreateForm(__classid(TStatusForm), &StatusForm);
Application->CreateForm(__classid(TRemoteMntForm), &RemoteMntForm);
Application->CreateForm(__classid(TInfoForm), &InfoForm);
Application->CreateForm(__classid(TCipherForm), &CipherForm);
Application->CreateForm(__classid(TUninstallForm), &UninstallForm);
Application->Run();
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
return 0;
}
//---------------------------------------------------------------------------
|