GetTickCount is a function in the kernel32 Library. If you declare it asshown you should be able to use it.