Fix for your problem is 'It doesn't matter. problem is your code not GetTickCount()' (i just tested GetTickCount o my computer works fine)
The code is running on all other computers and gives just an integer above 0, but it doesn't on my own computer. It returns a negative integer. Please don't say anything if you don't even know what's wrong.