24 lines
757 B
C++
24 lines
757 B
C++
//---------------------------------------------------------------------------
|
|
|
|
#include <vcl.h>
|
|
#pragma hdrstop
|
|
USERES("smartcard.res");
|
|
USEFORM("Main.cpp", SmartCard_Reader);
|
|
USEFORM("SerieCfg.cpp", SerieConf);
|
|
//---------------------------------------------------------------------------
|
|
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
|
|
{
|
|
try
|
|
{
|
|
Application->Initialize();
|
|
Application->CreateForm(__classid(TSmartCard_Reader), &SmartCard_Reader);
|
|
Application->Run();
|
|
}
|
|
catch (Exception &exception)
|
|
{
|
|
Application->ShowException(&exception);
|
|
}
|
|
return 0;
|
|
}
|
|
//---------------------------------------------------------------------------
|