use GetTickCount() for 32bit windows