Hello,

I´m not sure why you need GetTickCount, but there is a multiplatform
timer component for Lazarus, it´s called EpikTimer and can probably do
what you want.

Here is it´s documentation:

http://wiki.lazarus.freepascal.org/index.php/EpikTimer

You can ged elapsed time (it uses hardware timer when available or
winapi or linux kernel timer).

To get something similtar to the result of GetTickCount you just need to do:

Var ET: TEpikTimer;
  Begin
    ET.Clear;
    ET.Start;

 and then

  TickCount := ET.Elapsed;

This timer is *very* efficient. Nanosecond efficient. Enought to
control PCI cards with it.

--
Felipe Monteiro de Carvalho

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to