www.pudn.com > ics.zip > MTSRV.CPP, change:1998-04-04,size:687b


//--------------------------------------------------------------------------- 
#include <vcl.h> 
#pragma hdrstop 
USERES("MtSrv.res"); 
USEFORM("..\mtsrv1.cpp", ServerForm); 
USEUNIT("..\mtsrv2.cpp"); 
//--------------------------------------------------------------------------- 
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) 
{ 
    try 
    { 
        Application->Initialize(); 
        Application->CreateForm(__classid(TServerForm), &ServerForm); 
        Application->Run(); 
    } 
    catch (Exception &exception) 
    { 
        Application->ShowException(&exception); 
    } 
    return 0; 
} 
//---------------------------------------------------------------------------