     1	int main(int argc,char *argv[])
     2	{
     3		if (!AfxWinInit(::GetModuleHandle(NULL),NULL,::GetCommandLine(),0))
     4		{
     5			cerr << "Can't initialise MFC !" << endl;
     6			return -1;
     7		}
     8	
     9		service serv(argv[0]);
    10	
    11		int ret;
    12		if ((ret = serv.options(argc,argv)) <= 0)
    13			return ret;
    14	
    15		serv.run(argc,argv);
    16	
    17		return 0;
    18	}
