|
|
|
@ -124,7 +124,7 @@ int APIENTRY WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdL
|
|
|
|
|
scn->setArgs (lpCmdLine); \
|
|
|
|
|
createDebug(NULL,!scn->haveLongArg("nolog"));\
|
|
|
|
|
scn->setCallbackArray (__ServiceCallbackArray, sizeof(__ServiceCallbackArray)/sizeof(__ServiceCallbackArray[0])); \
|
|
|
|
|
sint retval = scn->main (__ServiceShortName, __ServiceLongName, __ServicePort, __ConfigDir, __LogDir, __DATE__" "__TIME__); \
|
|
|
|
|
sint retval = scn->main (__ServiceShortName, __ServiceLongName, __ServicePort, __ConfigDir, __LogDir, __DATE__ " " __TIME__); \
|
|
|
|
|
delete scn; \
|
|
|
|
|
return retval; \
|
|
|
|
|
}
|
|
|
|
@ -139,7 +139,7 @@ int main(int argc, const char **argv) \
|
|
|
|
|
scn->setArgs (argc, argv); \
|
|
|
|
|
createDebug(NULL,!scn->haveLongArg("nolog"));\
|
|
|
|
|
scn->setCallbackArray (__ServiceCallbackArray, sizeof(__ServiceCallbackArray)/sizeof(__ServiceCallbackArray[0])); \
|
|
|
|
|
sint retval = scn->main (__ServiceShortName, __ServiceLongName, __ServicePort, __ConfigDir, __LogDir, __DATE__" "__TIME__); \
|
|
|
|
|
sint retval = scn->main (__ServiceShortName, __ServiceLongName, __ServicePort, __ConfigDir, __LogDir, __DATE__ " " __TIME__); \
|
|
|
|
|
delete scn; \
|
|
|
|
|
return retval; \
|
|
|
|
|
}
|
|
|
|
|