PDA

Click to See Complete Forum and Search --> : lander


Stinger74
Aug 2nd, 1999, 01:41 AM
I am following the tutorial of the first lander game and i am having difficulties because it is written in VB6 and i have VB4, so, how do you declare GetTickCount and set as an integer, thnx

AaronC
Aug 3rd, 1999, 03:02 AM
If you are asking how to declare GetTickCount so as to get an integer back, I don't know of any way. But if you just want it to end up as an integer in the end then if you use "CInt(GetTickCount AND 65535)" then you will get a number back (Signifigantly smaller, but it won't cause an overflow error) that is an integer. I haven't been following that example, but if it uses that to find out a specific time, not just tell how much time has passed between two points, then this will not work.