port = strtol(T2A(portStr.c_str()), 0, 10);
port = ttol(portStr.c_str());
void init(const tstring& portStr, const tstring& configFile){	USES_CONVERSION;	port = strtol(T2A(portStr.c_str()), 0, 10);	DOMConfigurator domconfigurator;#ifdef WIN32	::CoInitialize(0);	domconfigurator.doConfigure(configFile);	::CoUninitialize();#else	tcout << _T("domconfigurator.doConfigure") << std::endl;	domconfigurator.doConfigure(configFile);#endif}