
NB.A Multimedia timer is actually a seperate high priority thread so all the normal multithreading issues apply. As with worker threads, MFC objects should not be called directly from a timer callback due to the Handle Map hoodoo stored in the CWinThread local storage. CMultimediaTimer is not GUI specific as I use it to handle periodic activity in console applications.
|