Set shield on autostart checkbox

This commit is contained in:
Ron Pedde 2007-03-16 18:31:20 +00:00
parent 8173070a59
commit 4547e93785
2 changed files with 1 additions and 1 deletions

View File

@ -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;

View File

@ -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);