Set shield on autostart checkbox
This commit is contained in:
parent
8173070a59
commit
4547e93785
|
@ -43,6 +43,7 @@ LRESULT CAdvancedPage::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*l
|
|||
|
||||
GetDlgItem(IDC_STARTSERVICE).SendMessage(BCM_SETSHIELD,0,TRUE);
|
||||
GetDlgItem(IDC_STOPSERVICE).SendMessage(BCM_SETSHIELD,0,TRUE);
|
||||
GetDlgItem(IDC_AUTOSTART).SendMessage(BCM_SETSHIELD,0,TRUE);
|
||||
|
||||
GetApplication()->ServiceStatusSubscribe(this);
|
||||
return 0;
|
||||
|
|
|
@ -35,7 +35,6 @@ bool Service::ExecHelper(const TCHAR *szAction) {
|
|||
|
||||
ZeroMemory(&pi,sizeof(pi));
|
||||
|
||||
|
||||
BOOL bStarted = CreateProcess(NULL,cmd,NULL,NULL,
|
||||
FALSE,0,NULL,NULL,&si,&pi);
|
||||
|
||||
|
|
Loading…
Reference in New Issue