ILOVA
Yuklovchi modul:
//---------------------------------------------------------------------------
#include
#pragma hdrstop
#include
//---------------------------------------------------------------------------
USEFORM("scan.cpp", Form2);
USEFORM("asosiy.cpp", Form1);
USEFORM("ABOUT.cpp", AboutBox);
//---------------------------------------------------------------------------
USEFORM("\KEHAT\asosiy.cpp", Form1);
//---------------------------------------------------------------------------
USEFORM("\KEHAT\asosiy.cpp", Form1);
//---------------------------------------------------------------------------
WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
{
try
{
//Application->Initialize();
Application->Initialize();
//SetApplicationMainFormOnTaskBar(Application, true);
//Application->Title = "KEHAT v 1.0";
Application->MainFormOnTaskBar = true;
Application->CreateForm(__classid(TForm1), &Form1);
Application->CreateForm(__classid(TForm2), &Form2);
Application->CreateForm(__classid(TAboutBox), &AboutBox);
Application->Run();
}
61
catch (Exception &exception)
{
Application->ShowException(&exception);
}
catch (...)
{
try
{
throw Exception("");
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
}
return 0;
}
//---------------------------------------------------------------------------
62
Do'stlaringiz bilan baham: |