Click here to Skip to main content
15,907,497 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: string initialization problem Pin
Nathan Blomquist17-Jul-02 8:17
Nathan Blomquist17-Jul-02 8:17 
GeneralRe: string initialization problem Pin
jmkhael17-Jul-02 10:25
jmkhael17-Jul-02 10:25 
GeneralRe: string initialization problem Pin
Michael Dunn17-Jul-02 16:49
sitebuilderMichael Dunn17-Jul-02 16:49 
GeneralRe: string initialization problem Pin
Anonymous18-Jul-02 1:37
Anonymous18-Jul-02 1:37 
GeneralNT Service networking Pin
Greven17-Jul-02 8:01
Greven17-Jul-02 8:01 
GeneralRe: NT Service networking Pin
Daniel Lohmann17-Jul-02 14:09
Daniel Lohmann17-Jul-02 14:09 
GeneralRe: NT Service networking Pin
Greven17-Jul-02 14:52
Greven17-Jul-02 14:52 
GeneralRe: NT Service networking Pin
Daniel Lohmann17-Jul-02 21:02
Daniel Lohmann17-Jul-02 21:02 
Greven wrote:
What exactly do you mean by this? What is a user defined service control code?

Using the ControlService() API you can send control codes to a services' handler function. Besides the predefined control codes (SERVICE_CONTROL_STOP, SERVICE_CONTROL_PAUSE, etc.) the range 128-255 is reserbed for user-defined control codes.

Greven wrote:
Also, if I do use normal socket code, is it common to have a looping thread that just sits there waiting to receive something?

Yes, there must be some thead that waits for recieving something. However, you could use overlapped IO so the thread is not blocked and can do also something else. You could even use the services' main thread for that purpose (the thread that starts in your ServiceMain).


--

Daniel Lohmann

http://www.losoft.de
Generaldisable keys in word document Pin
Srini Kella17-Jul-02 7:38
Srini Kella17-Jul-02 7:38 
GeneralRe: disable keys in word document Pin
Nick Parker17-Jul-02 8:13
protectorNick Parker17-Jul-02 8:13 
Generalmodifymenu question -about adding item Pin
ns17-Jul-02 6:37
ns17-Jul-02 6:37 
GeneralRe: modifymenu question -about adding item Pin
Roger Allen17-Jul-02 6:43
Roger Allen17-Jul-02 6:43 
GeneralRe: modifymenu question -about adding item Pin
ns17-Jul-02 8:26
ns17-Jul-02 8:26 
GeneralRe: modifymenu question -about adding item Pin
Roger Allen17-Jul-02 8:49
Roger Allen17-Jul-02 8:49 
GeneralRe: WoW! A new file to explore..... Pin
ns17-Jul-02 8:57
ns17-Jul-02 8:57 
GeneralRe: WoW! A new file to explore..... Pin
Shog917-Jul-02 11:13
sitebuilderShog917-Jul-02 11:13 
GeneralRe: WoW! A new file to explore..... Pin
Roger Allen18-Jul-02 0:11
Roger Allen18-Jul-02 0:11 
GeneralRe: WoW! A new file to explore..... Pin
ns18-Jul-02 1:22
ns18-Jul-02 1:22 
GeneralOutlook GUI!!! Pin
tongc17-Jul-02 6:02
tongc17-Jul-02 6:02 
GeneralRe: Outlook GUI!!! Pin
benjymous17-Jul-02 6:19
benjymous17-Jul-02 6:19 
GeneralRe: Outlook GUI!!! Pin
tongc17-Jul-02 7:11
tongc17-Jul-02 7:11 
Questionwho handles ID_FILE_OPEN? Pin
ns17-Jul-02 5:48
ns17-Jul-02 5:48 
AnswerRe: who handles ID_FILE_OPEN? Pin
Roger Allen17-Jul-02 5:56
Roger Allen17-Jul-02 5:56 
GeneralRe: who handles ID_FILE_OPEN? Pin
ns17-Jul-02 6:01
ns17-Jul-02 6:01 
Generalhmmmm- why cant we send msgs to the App? Pin
ns17-Jul-02 6:05
ns17-Jul-02 6:05 

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.