   timeGetTime in MFC
  Hi, i actually always use timeGetTime in my apps only in MFC some required library seems not to be linked automatically. Does anyone know which library timeGetTime is placed in or does anyone know of a simple replacement?Thanks in advance, TP 
  GetTickCount() is rather similar, and available with windows.h. ;  Thanks, works great. ;  Hi,if you want to use timeGetTime you have to link to winmm.lib.Hope this helps.GreetingsJan ;  True, thanks. ;  I have found the timeGetTime function to be very accurate for very pricise measurements under Win 95 and 98.  The code runs erratically under 2000 and XP.  I have tried setting the resolution with timeBeginPeriod(65535) - but to no avail.Incidentally - the GetTickCount is inaccurate on all operating systems.Can anyone help ?   [edited by - Jan Boeyens on February 12, 2004 7:34:27 AM];  Thats strange, i am using XP and both timeGetTime and GetTickCount and i''ve never had any problems, what exactly are the problems you are having ?. 