See .../fpcsrc/packages/fcl-base/examples/testtimer.pp for example usage.
On Thu, Dec 2, 2010 at 10:39 AM, Darius Blaszyk
wrote:
> Whatever I tried, I cannot get TFPTimer to work. Can someone help? For
> some reason the OnTimer even is never fired. Tried on Windows and Linux.
> Here's a snippet
> checkSynchronize;
Thanks Burkhard. It works now.
Regards, Darius
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Thu, 2 Dec 2010, Burkhard Carstens wrote:
Am Donnerstag, 2. Dezember 2010 19:39 schrieb Darius Blaszyk:
Whatever I tried, I cannot get TFPTimer to work. Can someone help?
For some reason the OnTimer even is never fired. Tried on Windows and
Linux. Here's a snippet I used as test.
Regards,
Am Donnerstag, 2. Dezember 2010 19:39 schrieb Darius Blaszyk:
> Whatever I tried, I cannot get TFPTimer to work. Can someone help?
> For some reason the OnTimer even is never fired. Tried on Windows and
> Linux. Here's a snippet I used as test.
>
> Regards, Darius
>
[..]
> begin
> test := TBase
Whatever I tried, I cannot get TFPTimer to work. Can someone help? For
some reason the OnTimer even is never fired. Tried on Windows and Linux.
Here's a snippet I used as test.
Regards, Darius
program fptimertest;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}
cthreads,
{$ENDIF}
SysUtils, fpT