[Lazarus] How to configure IDE for my own libraries?

Frank Church vfclists at gmail.com
Wed Sep 1 23:21:54 CEST 2010


On Wed, Sep 1, 2010 at 2:21 PM, Michael Schnell <mschnell at lumino.de> wrote:
>  You cant get a resolution of milliseconds in a user program.

Actually in my experience if you check EpikTimer in a loop with a
0-timed sleep you will get millisecond resolution:
http://wiki.freepascal.org/EpikTimer

Of course it isn't 100% guaranteed to keep the resolution because it
isn't a real-time-system, but in my experience this was more then
enough to drive hardware which requires interactions of the order of
miliseconds.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list