Launcher Controller

Googling as I don't write C/#/+/++ It appears there is
timeBeginPeriod(i);
that will set the timer?
i is number of milliseconds.
 
I found this article. Might be helpful. Apparently there's a timeBeginPeriod and NtSetTimerResolution value that is accessible. (Apparently Mike and I were looking in the same place!!!)

 
That appears to do it. I was vaguely aware of that, but was quite hesitant to go very far down that route because I was worried that I would have to bring a lot of Windows gui-related include files and libraries, but after adding two include files and one extra library it works fine with much smaller timer intervals. The .exe file didn't change size when adding that function call and linking with winmm.lib, somewhat surprisingly.
 
Back
Top