Click here to Skip to main content
15,888,018 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CEdit Control Pin
Garth J Lancaster15-Nov-08 23:15
professionalGarth J Lancaster15-Nov-08 23:15 
GeneralRe: CEdit Control Pin
CPallini15-Nov-08 23:52
mveCPallini15-Nov-08 23:52 
GeneralRe: CEdit Control Pin
Garth J Lancaster16-Nov-08 10:06
professionalGarth J Lancaster16-Nov-08 10:06 
GeneralRe: CEdit Control Pin
CPallini16-Nov-08 21:22
mveCPallini16-Nov-08 21:22 
GeneralRe: CEdit Control Pin
Garth J Lancaster16-Nov-08 22:49
professionalGarth J Lancaster16-Nov-08 22:49 
AnswerRe: CEdit Control Pin
john563215-Nov-08 23:36
john563215-Nov-08 23:36 
AnswerRe: CEdit Control Pin
dupenf116-Nov-08 21:28
dupenf116-Nov-08 21:28 
QuestionLogon failure with Win32 Service Pin
Member 569752115-Nov-08 10:09
Member 569752115-Nov-08 10:09 
I am trying to install a local service under the context of a trusted domain account.

I installed the service correctly and it starts fine running under the LocalSystem context, however the service fails to start under the domain account because of a logon failure.

The domain account I am using meets all of the following requirements. Please tell me if I am missing anything:

1). Account is enabled/unlocked
2). Account password I am using is valid (logged into a few machines with it)
3). Account has local admin rights on the machine I am installing the service on

Attached is the CreateService() function I am using to install the service.

Thank you

TCHAR szPath[MAX_PATH] = (L"\"C:\\Program Files\\Temp.exe\"");
TCHAR szStartName[50] = (L"Domain\\User");
TCHAR szStartNamePassword[50] = (L"**********");

schService = CreateService(
schSCManager,
SVCNAME,
SVCNAME,
SERVICE_ALL_ACCESS,
SERVICE_WIN32_OWN_PROCESS,
SERVICE_AUTO_START,
SERVICE_ERROR_NORMAL,
szPath,
NULL,
NULL,
NULL,
szStartName,
szStartNamePassword);
AnswerRe: Logon failure with Win32 Service Pin
Graham Bradshaw15-Nov-08 11:29
Graham Bradshaw15-Nov-08 11:29 
GeneralRe: Logon failure with Win32 Service Pin
Member 569752116-Nov-08 7:48
Member 569752116-Nov-08 7:48 
GeneralRe: Logon failure with Win32 Service Pin
Graham Bradshaw16-Nov-08 8:04
Graham Bradshaw16-Nov-08 8:04 
QuestionHook printer jobs Pin
Green Fuze15-Nov-08 9:05
Green Fuze15-Nov-08 9:05 
AnswerRe: Hook printer jobs Pin
Garth J Lancaster15-Nov-08 22:51
professionalGarth J Lancaster15-Nov-08 22:51 
QuestionCRichEditCtrl - problem with SetTargetDevice and TO_ADVANCEDTYPOGRAPHY Pin
szczepi15-Nov-08 8:57
szczepi15-Nov-08 8:57 
QuestionReferencing lib file Pin
Christian Flutcher15-Nov-08 7:25
Christian Flutcher15-Nov-08 7:25 
AnswerRe: Referencing lib file Pin
Mark Salsbery15-Nov-08 7:30
Mark Salsbery15-Nov-08 7:30 
GeneralRe: Referencing lib file Pin
Christian Flutcher16-Nov-08 6:56
Christian Flutcher16-Nov-08 6:56 
GeneralRe: Referencing lib file Pin
Mark Salsbery16-Nov-08 7:08
Mark Salsbery16-Nov-08 7:08 
GeneralRe: Referencing lib file Pin
Christian Flutcher16-Nov-08 7:12
Christian Flutcher16-Nov-08 7:12 
GeneralRe: Referencing lib file Pin
Mark Salsbery16-Nov-08 7:22
Mark Salsbery16-Nov-08 7:22 
GeneralRe: Referencing lib file Pin
Jijo.Raj16-Nov-08 7:34
Jijo.Raj16-Nov-08 7:34 
GeneralRe: Referencing lib file Pin
Christian Flutcher17-Nov-08 15:37
Christian Flutcher17-Nov-08 15:37 
QuestionProblems with malloc() and typedef struct Pin
Manfr3d15-Nov-08 3:11
Manfr3d15-Nov-08 3:11 
AnswerRe: Problems with malloc() and typedef struct Pin
Iain Clarke, Warrior Programmer15-Nov-08 3:18
Iain Clarke, Warrior Programmer15-Nov-08 3:18 
GeneralRe: Problems with malloc() and typedef struct Pin
Manfr3d15-Nov-08 4:08
Manfr3d15-Nov-08 4:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.