Fixed bug in starting (when not testing) synergy from launcher

on windows NT.  It was trying to start it as a service.
This commit is contained in:
crs 2004-03-28 20:52:49 +00:00
parent 3c29242208
commit 82552698f7
1 changed files with 5 additions and 0 deletions

View File

@ -514,6 +514,11 @@ getCommandLine(HWND hwnd, bool testing)
cmdLine += " -z --no-restart --no-daemon";
}
// can't start as service on NT
else if (!CArchMiscWindows::isWindows95Family()) {
cmdLine += " --no-daemon";
}
// get the server name
CString server;
bool isClient = isClientChecked(hwnd);