// ICS Web Application Server - C++Builder project source, the equivalent of OverbyteIcsWebAppServer.dpr
#include <vcl.h>
#pragma hdrstop
#include <tchar.h>

USEFORM("OverbyteIcsWebAppServerMain.cpp", WebAppSrvForm);

int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
{
    try {
        Application->Initialize();
        Application->MainFormOnTaskBar = true;   // the Delphi .dpr does not set MainFormOnTaskbar
        Application->CreateForm(__classid(TWebAppSrvForm), &WebAppSrvForm);
        Application->Run();
    }
    catch (Exception &exception) {
        Application->ShowException(&exception);
    }
    return 0;
}
