Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Delphi Components Misc > Re: very short ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 196 of 251
Post > Topic >>

Re: very short time in delphi

by "Bob Swart (aka Dr.Bob)" <b.swart@[EMAIL PROTECTED] > Jun 2, 2005 at 11:45 AM

Hi Sebastian,

> I need an event excecuted in very short intervals (0,000111s). I've
> tried to do it with the intervalTimer in Delphi 5, but it is only able
> to start events in miliseconds. Is there any other way to do it?

Yes, use the QueryPerformanceCounter and QueryPerformanceFrequency 
functions (from the Windows unit) to measure short time intervals at a 
high resolution.

> Thanks for your help
> Sebastian Gatzhammer

Groetjes,
           Bob Swart (aka Dr.Bob - www.DrBob42.com)

-- 
Bob Swart Training & Consultancy (eBob42) - Borland Technology Partner
Delphi 2005 PDF manuals available from http://www.drbob42.com/training
 




 3 Posts in Topic:
very short time in delphi
"gatzhammers" &  2005-06-01 01:47:59 
Re: very short time in delphi
"Bruce Roberts"  2005-06-01 11:34:59 
Re: very short time in delphi
"Bob Swart (aka Dr.B  2005-06-02 11:45:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 0:04:11 CDT 2008.