55 lines
979 B
Plaintext
55 lines
979 B
Plaintext
//---------------------------------------------------------------------------
|
|
|
|
#include <vcl.h>
|
|
#pragma hdrstop
|
|
#include <tchar.h>
|
|
//---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
USEFORM("UFrmAlgoritmos.cpp", FrmAlgoritmos);
|
|
USEFORM("UFrmPrincipal.cpp", frmPrincipal);
|
|
USEFORM("UFrmCapturaOpenCV.cpp", FrmCapturaOpenCV);
|
|
//---------------------------------------------------------------------------
|
|
WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
|
|
{
|
|
try
|
|
{
|
|
Application->Initialize();
|
|
Application->MainFormOnTaskBar = true;
|
|
Application->CreateForm(__classid(TfrmPrincipal), &frmPrincipal);
|
|
Application->Run();
|
|
}
|
|
catch (Exception &exception)
|
|
{
|
|
Application->ShowException(&exception);
|
|
}
|
|
catch (...)
|
|
{
|
|
try
|
|
{
|
|
throw Exception("");
|
|
}
|
|
catch (Exception &exception)
|
|
{
|
|
Application->ShowException(&exception);
|
|
}
|
|
}
|
|
return 0;
|
|
}
|
|
//---------------------------------------------------------------------------
|