TimeTag DLL code