View Single Post
  #16  
Old 23-03-2016, 12:42
BAMsE's Avatar
BAMsE BAMsE is offline
The World Is Yener's
 
Join Date: Mar 2011
Location: in front of the monitor
Posts: 344
Thanks: 49
Thanked 271 Times in 91 Posts
BAMsE is on a distinguished road
I can't create more than one timer with CreateTimer function. Only last defined TTimerProc is executed with the smallest Timeout defined:
Code:
ButtonCB := CreateTimer(10, @ButtonAction;
EqualizerCB := CreateTimer(100, @EqualizerAction);
In this case only EqualizerAction is executed with 10ms interval
Reply With Quote
The Following User Says Thank You to BAMsE For This Useful Post:
peterf1999 (24-03-2016)
Sponsored Links