I have a SetTimer call:
SetTimer(1, 20, NULL);
And a handler:
void Xxx::OnTimer(UINT nIDEvent)
{
...
if(nIDEvent == 1)
{
...
}
}
But the Handler code is not being called every 20ms as requested. Is this dependent on the Machine on which it runs, or the operating system as to whether it can keep up with this high rate of function calling?
Is there something faster that can be used?
Thank you in advance for any advice!!

-Travis
SetTimer(1, 20, NULL);
And a handler:
void Xxx::OnTimer(UINT nIDEvent)
{
...
if(nIDEvent == 1)
{
...
}
}
But the Handler code is not being called every 20ms as requested. Is this dependent on the Machine on which it runs, or the operating system as to whether it can keep up with this high rate of function calling?
Is there something faster that can be used?
Thank you in advance for any advice!!
-Travis