Click here to Skip to main content
15,911,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WoW! Most excellent! Pin
Ravi Bhavnani17-Jul-02 9:31
professionalRavi Bhavnani17-Jul-02 9:31 
Generalstring initialization problem Pin
ChiYung17-Jul-02 8:07
ChiYung17-Jul-02 8:07 
GeneralRe: string initialization problem Pin
Joaquín M López Muñoz17-Jul-02 8:16
Joaquín M López Muñoz17-Jul-02 8:16 
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 
I'm beginning work on an NT service (only in the early design phase right now) that will need to respond to network requests. I've done work with networking before, but this will be my first service. What I'm finding already is that there doesn't seem to be an easy way to handle networking. At least not as intuitive as through CSocket with MFC. What type of system does everyone else use for a service? I know I can setup a thread that continually tries to receive, and that might work. I've also looked into using the MFC service classes out there (PJ Naughter's in particular) so that I can use CSocket again. Both seem to have there up's and down's. Is there an easy way that I'm not seeing?

Also, as a second question. How do you control a service? I understand how to start, stop, and pause them. But how do I grab it and call a function? Or can I? Basically, if I write a control panel applet for example, how do I adjust the service in realtime? I could always write adjustments to the registry, but then I would also have to have a thread watching for changes and that doesn't seem very logical either. Again, is there an easy way that I'm just not seeing?

"Go Confidently in the direction of your dreams. Live the life you've imagined." - Thoreau
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 
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 

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.