Click here to Skip to main content
15,921,577 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Derive Class from CTime Pin
e-DJ28-Feb-07 23:34
e-DJ28-Feb-07 23:34 
GeneralRe: Derive Class from CTime Pin
Naveen1-Mar-07 0:21
Naveen1-Mar-07 0:21 
GeneralRe: Derive Class from CTime Pin
e-DJ1-Mar-07 4:19
e-DJ1-Mar-07 4:19 
AnswerRe: Derive Class from CTime Pin
Nibu babu thomas28-Feb-07 22:55
Nibu babu thomas28-Feb-07 22:55 
GeneralRe: Derive Class from CTime Pin
e-DJ28-Feb-07 23:48
e-DJ28-Feb-07 23:48 
AnswerRe: Derive Class from CTime Pin
David Crow1-Mar-07 2:39
David Crow1-Mar-07 2:39 
QuestionWin Service problem Pin
david bagaturia28-Feb-07 21:38
david bagaturia28-Feb-07 21:38 
AnswerRe: Win Service problem Pin
JudyL_MD1-Mar-07 2:44
JudyL_MD1-Mar-07 2:44 
Your original main was correct. The loop should be in the ServiceMain routine. Before entering the loop, your ServiceMain routine should call RegisterServiceCtrlHandlerEx to establish a callback routine for the SCM to call when the OS needs to change the state of your service. Typically, the ControlHandler sets some kind of signal, like an event. The loop in the ServiceMain then periodically checks for that signal.

Judy
GeneralRe: Win Service problem Pin
david bagaturia1-Mar-07 3:11
david bagaturia1-Mar-07 3:11 
GeneralRe: Win Service problem Pin
JudyL_MD1-Mar-07 3:45
JudyL_MD1-Mar-07 3:45 
GeneralRe: Win Service problem Pin
david bagaturia1-Mar-07 18:58
david bagaturia1-Mar-07 18:58 
QuestionAbout Driver priority Pin
mt_samiei28-Feb-07 21:32
mt_samiei28-Feb-07 21:32 
Questionhow can i get all computer in the lan. Pin
bios808628-Feb-07 21:31
bios808628-Feb-07 21:31 
AnswerRe: how can i get all computer in the lan. Pin
bios80861-Mar-07 15:17
bios80861-Mar-07 15:17 
QuestionAbout DirectX??? Pin
siddharthsan28-Feb-07 21:18
siddharthsan28-Feb-07 21:18 
AnswerRe: About DirectX??? Pin
Mark Salsbery1-Mar-07 8:00
Mark Salsbery1-Mar-07 8:00 
QuestionNeed to draw background of edit control Pin
Nishad S28-Feb-07 21:16
Nishad S28-Feb-07 21:16 
AnswerRe: Need to draw background of edit control Pin
baerten28-Feb-07 22:41
baerten28-Feb-07 22:41 
GeneralRe: Need to draw background of edit control Pin
Nishad S28-Feb-07 23:39
Nishad S28-Feb-07 23:39 
AnswerRe: Need to draw background of edit control Pin
Hamid_RT28-Feb-07 23:35
Hamid_RT28-Feb-07 23:35 
Questionnew operator Pin
prithaa28-Feb-07 21:07
prithaa28-Feb-07 21:07 
AnswerRe: new operator Pin
Cedric Moonen28-Feb-07 21:16
Cedric Moonen28-Feb-07 21:16 
GeneralRe: new operator Pin
prithaa28-Feb-07 21:56
prithaa28-Feb-07 21:56 
Questionhow to use SetPrinterDataEx() Pin
mo_nica88128-Feb-07 20:58
mo_nica88128-Feb-07 20:58 
AnswerRe: how to use SetPrinterDataEx() Pin
prasad_som28-Feb-07 23:13
prasad_som28-Feb-07 23:13 

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.