30 lines
868 B
C++
30 lines
868 B
C++
//---------------------------------------------------------------------------
|
|
#include <registry.hpp>
|
|
#include <vcl.h>
|
|
#pragma hdrstop
|
|
USERES("CTapiz.res");
|
|
USEFORM("CTapiz_mm.cpp", CTapiz);
|
|
HINSTANCE g_hinst;
|
|
//---------------------------------------------------------------------------
|
|
WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR lpCmdLine, int)
|
|
{
|
|
try
|
|
{
|
|
Application->Initialize();
|
|
g_hinst = hInstance;
|
|
Application->Title = "CambiarTapiz!";
|
|
Application->CreateForm(__classid(TCTapiz), &CTapiz);
|
|
Application->ShowMainForm = false;
|
|
|
|
if ( AnsiString( lpCmdLine ).IsEmpty() )
|
|
Application->Run();
|
|
}
|
|
|
|
catch (Exception &exception)
|
|
{
|
|
Application->ShowException(&exception);
|
|
}
|
|
return 0;
|
|
}
|
|
//---------------------------------------------------------------------------
|