Hi Jim, Well, I do have one theory that may explain why GetTickCount is more accurate than using the VB 6 Form_Timer, and it has to do with the fact the form timers are events and do not have direct access to the running time like GetTickCount() does. As you probably already know the GetTickCount function is a core part of the Windows kernel, Kernel32.dll, and it keeps track of the time that has passed since the system was started. All of the Windows events including the VB 6 and .Net Framework form timers are just high level wrapppers for Kernel32.GetTickCount(). Which may result in some inaccurate timing. Basically what happens when you add a VB 6 Form_Timer to your project that timer asks Windows to notify it of when the time changes. The request is sent up stairs where the Windows events places it in a waiting thread, a hold on a moment state, and as soon as a GetTickCount message is recieved by the Windows event mottle it cycles it back through to the application that is awaiting news of the GetTickCount state. While this is probably ok for some applications it is probably too slow for really really time critical applications. windows events work on a first come first served basis which isn't always practical when you need something right away. If you just include Kernel32.GetTickCount() directly in your VB 6 application you end up skipping all that Windows Event crap, and get your time data right from the source responcible for managing it for everything system wide. It is like having your hands on the football and doing a end run around the ddefencive linemen in front of you. You totally pass by the other players on the field and have a clear shot for a touch down. there isn't anything between your application and the timer function which means it might be giving you a more accurate time count.
--- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to [EMAIL PROTECTED] You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/[EMAIL PROTECTED] If you have any questions or concerns regarding the management of the list, please send E-mail to [EMAIL PROTECTED]