Click here to Skip to main content
15,908,254 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: trapping F1 in a class derived from CFileDialogImpl Pin
Niklas L17-Jun-10 2:11
Niklas L17-Jun-10 2:11 
QuestionProblem running service on win2k8 Pin
Mahesh Kulkarni14-Jun-10 6:33
Mahesh Kulkarni14-Jun-10 6:33 
AnswerRe: Problem running service on win2k8 Pin
Richard Andrew x6414-Jun-10 13:21
professionalRichard Andrew x6414-Jun-10 13:21 
GeneralRe: Problem running service on win2k8 Pin
Mahesh Kulkarni14-Jun-10 15:08
Mahesh Kulkarni14-Jun-10 15:08 
GeneralRe: Problem running service on win2k8 Pin
Richard Andrew x6414-Jun-10 15:37
professionalRichard Andrew x6414-Jun-10 15:37 
GeneralRe: Problem running service on win2k8 Pin
Mahesh Kulkarni14-Jun-10 15:45
Mahesh Kulkarni14-Jun-10 15:45 
GeneralRe: Problem running service on win2k8 Pin
Richard Andrew x6414-Jun-10 15:49
professionalRichard Andrew x6414-Jun-10 15:49 
GeneralRe: Problem running service on win2k8 Pin
Mahesh Kulkarni15-Jun-10 4:26
Mahesh Kulkarni15-Jun-10 4:26 
void main(void)
{
	OutputDebugString("Entering : void main(void)");
	SERVICE_TABLE_ENTRY Service_Table_Entry[] = {
		{ (LPTSTR) SERVICE_NAME, (LPSERVICE_MAIN_FUNCTION) ServiceMain },
		{ 0, 0 }, 
	};
	hThread = NULL;					// Thread for the actual work
	hServiceEventDone = NULL;		// Event used to keep ServiceMain from completing
	hThreadServiceDone = NULL;		// Event set by ServiceThread indicates exited

	StartServiceCtrlDispatcher(Service_Table_Entry)
	OutputDebugString("Exiting : void main(void)");
}

This is the entrypoint of the service.
If I run this service by Domain\administrator account debugview shows "Entering : void main(void)" entry.
But,
When I try to run this service as Local System Account it not even reaches to "Entering : void main(void)" statement.

Thanks in advance.
Mahesh R. Kulkarni
The secret of life is not enjoyment
but education through experience.
- Swami Vivekananda.


QuestionMAPISendMail() fails with Thunderbird, error code -2147467259 Pin
Dave Calkins14-Jun-10 5:49
Dave Calkins14-Jun-10 5:49 
AnswerRe: MAPISendMail() fails with Thunderbird, error code -2147467259 Pin
Dave Calkins14-Jun-10 10:48
Dave Calkins14-Jun-10 10:48 
QuestionGame State using C++ Pin
T.RATHA KRISHNAN14-Jun-10 4:39
T.RATHA KRISHNAN14-Jun-10 4:39 
AnswerRe: Game State using C++ Pin
Chris Losinger14-Jun-10 4:46
professionalChris Losinger14-Jun-10 4:46 
AnswerRe: Game State using C++ Pin
Aescleal14-Jun-10 7:30
Aescleal14-Jun-10 7:30 
AnswerRe: Game State using C++ Pin
Stephen Hewitt14-Jun-10 14:14
Stephen Hewitt14-Jun-10 14:14 
QuestionHow can specific type details be filtered from Dia2Dump ? Pin
glitteringsound14-Jun-10 0:45
glitteringsound14-Jun-10 0:45 
Questionhow to bounce balls on quad Pin
nearest13-Jun-10 23:57
nearest13-Jun-10 23:57 
AnswerRe: how to bounce balls on quad Pin
Maximilien14-Jun-10 0:52
Maximilien14-Jun-10 0:52 
AnswerRe: how to bounce balls on quad Pin
Cedric Moonen14-Jun-10 1:29
Cedric Moonen14-Jun-10 1:29 
AnswerRe: how to bounce balls on quad [modified] Pin
CPallini14-Jun-10 1:31
mveCPallini14-Jun-10 1:31 
Questionget the process' path by its pid Pin
Krauze13-Jun-10 23:07
Krauze13-Jun-10 23:07 
AnswerRe: get the process' path by its pid Pin
CPallini13-Jun-10 23:20
mveCPallini13-Jun-10 23:20 
GeneralRe: get the process' path by its pid Pin
Krauze14-Jun-10 1:52
Krauze14-Jun-10 1:52 
AnswerRe: get the process' path by its pid Pin
Richard MacCutchan13-Jun-10 23:40
mveRichard MacCutchan13-Jun-10 23:40 
GeneralRe: get the process' path by its pid Pin
Krauze14-Jun-10 1:53
Krauze14-Jun-10 1:53 
GeneralRe: get the process' path by its pid Pin
Richard MacCutchan14-Jun-10 3:58
mveRichard MacCutchan14-Jun-10 3:58 

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.