Click here to Skip to main content
15,902,447 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Template class pointer instantiation Pin
Tomasz Sowinski18-Mar-02 10:34
Tomasz Sowinski18-Mar-02 10:34 
GeneralTHANKS!!! Pin
18-Mar-02 10:58
suss18-Mar-02 10:58 
GeneralRe: Template class pointer instantiation Pin
Christian Graus18-Mar-02 10:16
protectorChristian Graus18-Mar-02 10:16 
GeneralATL 7.0 & NT Service. Pin
Carl18-Mar-02 9:31
Carl18-Mar-02 9:31 
GeneralRe: ATL 7.0 & NT Service. Pin
Tomasz Sowinski18-Mar-02 9:44
Tomasz Sowinski18-Mar-02 9:44 
GeneralRe: ATL 7.0 & NT Service. Pin
Carl18-Mar-02 9:50
Carl18-Mar-02 9:50 
GeneralRe: ATL 7.0 & NT Service. Pin
C-J Berg19-Mar-02 1:39
C-J Berg19-Mar-02 1:39 
GeneralRe: ATL 7.0 & NT Service. Pin
Carl19-Mar-02 2:10
Carl19-Mar-02 2:10 
Thank you for responding to my query. I always appreciate it when people take the time to help.

The Run() method in AtlServiceModule calls this method

void RunMessageLoop() throw()
{
MSG msg;
while (GetMessage(&msg, 0, 0, 0) > 0)
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}

and I have checked and made sure this is being hit.

As to only using a timer, my service is instantiating a COM object that uses WinSock messages (that weren't processed either). I have since written my own WinSock module that uses overlapped IO, but I am rather stubborn and would like to know WHY this code doesn't work. Timers worked fine in a service generated under VC6.

Again, I'd like to thank the people that have responded to my query. I posted the same question in a newsgroup and no one responded.


GeneralAntialiased XP icons Pin
18-Mar-02 9:17
suss18-Mar-02 9:17 
GeneralRe: Antialiased XP icons Pin
Jon Sagara18-Mar-02 9:31
Jon Sagara18-Mar-02 9:31 
GeneralRe: Antialiased XP icons Pin
Derek Lakin18-Mar-02 11:02
Derek Lakin18-Mar-02 11:02 
GeneralRe: Antialiased XP icons Pin
Shog918-Mar-02 10:58
sitebuilderShog918-Mar-02 10:58 
GeneralPopup menus don't disappear Pin
18-Mar-02 9:05
suss18-Mar-02 9:05 
GeneralRe: Popup menus don't disappear Pin
Michael Dunn18-Mar-02 10:27
sitebuilderMichael Dunn18-Mar-02 10:27 
GeneralAssert madness Pin
Todd Smith18-Mar-02 8:34
Todd Smith18-Mar-02 8:34 
GeneralRe: Assert madness Pin
Tomasz Sowinski18-Mar-02 8:53
Tomasz Sowinski18-Mar-02 8:53 
GeneralRe: Assert madness Pin
Todd Smith18-Mar-02 9:30
Todd Smith18-Mar-02 9:30 
GeneralRe: Assert madness Pin
Tomasz Sowinski18-Mar-02 9:55
Tomasz Sowinski18-Mar-02 9:55 
Generaltemplate class on CWinThread Pin
18-Mar-02 8:30
suss18-Mar-02 8:30 
GeneralRe: template class on CWinThread Pin
Tomasz Sowinski18-Mar-02 8:49
Tomasz Sowinski18-Mar-02 8:49 
QuestionHow to use WM_WTSSESSION_CHANGE? Pin
WookMaster18-Mar-02 7:11
WookMaster18-Mar-02 7:11 
AnswerRe: How to use WM_WTSSESSION_CHANGE? Pin
Tomasz Sowinski18-Mar-02 7:18
Tomasz Sowinski18-Mar-02 7:18 
GeneralRe: How to use WM_WTSSESSION_CHANGE? Pin
WookMaster18-Mar-02 7:27
WookMaster18-Mar-02 7:27 
GeneralRe: How to use WM_WTSSESSION_CHANGE? Pin
Tomasz Sowinski18-Mar-02 7:29
Tomasz Sowinski18-Mar-02 7:29 
GeneralRe: How to use WM_WTSSESSION_CHANGE? Pin
WookMaster18-Mar-02 7:40
WookMaster18-Mar-02 7:40 

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.