//--------------------------------------------------------------------------- #include #pragma hdrstop USEFORM("..\UninstallFrm.cpp", UninstallForm); USEFORM("..\InfoFrm.cpp", InfoForm); USEFORM("..\MainFrm.cpp", MainForm); USEFORM("..\RemoteMntFrm.cpp", RemoteMntForm); USEFORM("..\StatusFrm.cpp", StatusForm); USEFORM("..\cipherfrm.cpp", CipherForm); //--------------------------------------------------------------------------- WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) { try { Application->Initialize(); Application->Title = "Install Manager"; Application->CreateForm(__classid(TMainForm), &MainForm); Application->CreateForm(__classid(TUninstallForm), &UninstallForm); Application->CreateForm(__classid(TInfoForm), &InfoForm); Application->CreateForm(__classid(TRemoteMntForm), &RemoteMntForm); Application->CreateForm(__classid(TStatusForm), &StatusForm); Application->CreateForm(__classid(TCipherForm), &CipherForm); Application->Run(); } catch (Exception &exception) { Application->ShowException(&exception); } return 0; } //---------------------------------------------------------------------------