// ICS ThrdSrvV2 demo - C++Builder project source, the equivalent of OverbyteIcsThrdSrvV2.dpr
#include <vcl.h>
#pragma hdrstop
#include <tchar.h>

USEFORM("OverbyteIcsThrdSrvV2_1.cpp", TcpSrvForm);

int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
{
    try {
        Application->Initialize();
        Application->MainFormOnTaskBar = true;
        Application->CreateForm(__classid(TTcpSrvForm), &TcpSrvForm);
        Application->Run();
    }
    catch (Exception &exception) {
        Application->ShowException(&exception);
    }
    return 0;
}