We were calling GetDlgItemText() on the wrong window. As a result,
trying to install a sevice with parameters set would fail with the
error message "No valid options were specified!"
+Changes since 2.20
+-----------------
+ * Services installed from the GUI no longer have incorrect
+ AppParameters set in the registry.
+
Changes since 2.19
-----------------
* Services installed from the commandline without using the
Thanks to Brian Baxter for suggesting how to escape quotes from the command prompt.\r
Thanks to Russ Holmann for suggesting that the shutdown timeout be configurable.\r
Thanks to Paul Spause for spotting a bug with default registry entries.\r
+Thanks to BUGHUNTER for spotting more GUI bugs.\r
\r
Licence\r
-------\r
\r
/* Get flags. */\r
if (SendMessage(GetDlgItem(tablist[NSSM_TAB_APPLICATION], IDC_FLAGS), WM_GETTEXTLENGTH, 0, 0)) {\r
- if (! GetDlgItemText(window, IDC_FLAGS, service->flags, sizeof(service->flags))) {\r
+ if (! GetDlgItemText(tablist[NSSM_TAB_APPLICATION], IDC_FLAGS, service->flags, sizeof(service->flags))) {\r
popup_message(MB_OK | MB_ICONEXCLAMATION, NSSM_GUI_INVALID_OPTIONS);\r
return 4;\r
}\r