mmtimer

mmtimer

//#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 :-))

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.