Software Archive
Read-only legacy content

mmtimer

nick_arn
Beginner
590 Views

//#include

//#pragma comment (lib,"winmm.lib")

TIMECAPS tc;

timeGetDevCaps(&tc,

sizeof(TIMECAPS));

MMRESULT mr=timeBeginPeriod(tc.wPeriodMin);

//usually, you can increase it to 1 ms :-))

0 Kudos
0 Replies
Reply