Click here to Skip to main content
16,012,168 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPrinting problem!!! Pin
25-Jan-01 5:09
suss25-Jan-01 5:09 
GeneralRe: Printing problem!!! Pin
Michael A Barnhart25-Jan-01 6:18
Michael A Barnhart25-Jan-01 6:18 
QuestionWhat is a bit mask and when it is used?? Pin
25-Jan-01 4:37
suss25-Jan-01 4:37 
QuestionWhat is a bit mask and when it is used?? Pin
25-Jan-01 4:37
suss25-Jan-01 4:37 
AnswerRe: What is a bit mask and when it is used?? Pin
David Fedolfi25-Jan-01 6:16
David Fedolfi25-Jan-01 6:16 
QuestionInterface or Hook? Pin
Tom K25-Jan-01 3:03
Tom K25-Jan-01 3:03 
AnswerRe: Interface or Hook? Pin
Julien29-Jan-01 15:42
Julien29-Jan-01 15:42 
GeneralNT Service Question (Sleep vs idle) Pin
Michael A Barnhart25-Jan-01 3:01
Michael A Barnhart25-Jan-01 3:01 
I have a class that is derived from the CAsyncSocket class. This is used to monitor a socket on machine and works fine when used with an application. I would like to use this with a NT service. I have limited experience with services. I have read some (most?) of the MSDN documentation but feel (hope) that I must be missing some critical issues. In reviewing samples available (Nigel's work on the MS site, Koeing's and Naughters samples on the CodeGuru site) I find that all are using a loop step through until a stop command is issued which then breaks the loop. TO keep the service from running 100% a sleep command is issued. It appears that when a sleep call is issued the service is then not monitoring the socket which defeats its purpose. SO:
1) Can someone confirm I am correct here.
2) Any suggestions - a pointer to some documentation is fine. I do not mind working on this just am at somewhat of a dead end with what I have found (understand) to date.

A web server must be doing something simmilar to what I need.

Thanks

Michael A Barnhart
mabtech@swbell.net
GeneralRe: NT Service Question (Sleep vs idle) Pin
Michael A Barnhart26-Jan-01 3:11
Michael A Barnhart26-Jan-01 3:11 
QuestionCan a DLL be spied on? Pin
Matt Philmon25-Jan-01 2:55
Matt Philmon25-Jan-01 2:55 
AnswerRe: Can a DLL be spied on? Pin
29-Jan-01 2:30
suss29-Jan-01 2:30 
QuestionHow to visualize a large depot ??? Pin
24-Jan-01 23:35
suss24-Jan-01 23:35 
AnswerRe: How to visualize a large depot ??? Pin
25-Jan-01 2:40
suss25-Jan-01 2:40 
Generala prog like Spy++ Pin
Tom K24-Jan-01 21:23
Tom K24-Jan-01 21:23 
GeneralRe: a prog like Spy++ Pin
24-Jan-01 23:00
suss24-Jan-01 23:00 
GeneralRe: a prog like Spy++ Pin
Tom K25-Jan-01 1:41
Tom K25-Jan-01 1:41 
GeneralCObArray Assertion !!! Pin
24-Jan-01 20:54
suss24-Jan-01 20:54 
GeneralRe: CObArray Assertion !!! Pin
AlexMarbus25-Jan-01 7:47
AlexMarbus25-Jan-01 7:47 
GeneralRe: CObArray Assertion !!! Pin
25-Jan-01 20:29
suss25-Jan-01 20:29 
GeneralRe: CObArray Assertion !!! Pin
6-Feb-01 12:34
suss6-Feb-01 12:34 
GeneralLoadstring Fails on Win98 Pin
Lea Johnson24-Jan-01 18:02
Lea Johnson24-Jan-01 18:02 
GeneralRe: Loadstring Fails on Win98 Pin
Matt.W.24-Jan-01 19:05
Matt.W.24-Jan-01 19:05 
GeneralSystem Tray problem ( program keeps quitting) Pin
Christian Graus24-Jan-01 13:09
protectorChristian Graus24-Jan-01 13:09 
GeneralWMSDK(Windows Media SDK) and MFC Pin
24-Jan-01 11:23
suss24-Jan-01 11:23 
GeneralCTreeCtrl Pin
Fabrizio24-Jan-01 4:22
Fabrizio24-Jan-01 4:22 

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.