Timers in DLL & Windows XP

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I have a regular DLL deriverd from CWinApp that uses a Timer to tick at 10m

SetTimer(NULL,1,10,TimerProc

I developed a windows UI application that works fine. When I created a console app the Timers messages are not posted
Even on Windows XP I have the similar problem

Any pointers will be appreciated

Thanks in advanc
Lakshmi
 
SetTimer can't be used in a console application, SetTimer needs a Windows
Handle (you set it to NULL) and a corresponding windows message pump.

Willy.
 
Can I use any other options to get the timer tick, So that the DLL can be used with a console application. Also I have the timer event not generated in Windows XP. Any ideas

Thank
Lakshmi
 
Back
Top