Sickboy (1) [Avatar] Offline

i read your book more than once and took a look at your sources, but donĀ“t found the sources of your timer function.
Can anyone tell how to rebuild the sync functions of mxmidiXX.dll ?
I have another MIDI port library where i can send midi messages and like to understand how the midi events will be fired just in time.
I know that i need a timer function with nanoseconds accurancy.
I tried all C++ timer functions i found but never get such accurancy smilie
The best way i found was to use QueryPerformanceCounter() to get an event of the processorTicks.