<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 05/29/2014 11:18 AM, fredvs wrote:
<blockquote cite="mid:1401355134254-5719429.post@n5.nabble.com"
type="cite">
<pre wrap=""> but the timer does not execute
CallvoidMethod at fptimer.ontimer...
</pre>
</blockquote>
Just a guess here...<br>
<br>
To quote Sven a few mails ago: `CheckSynchronize is used to process
calls to TThread.Synchronize and TThread.Queue. It <b
class="moz-txt-star"><span class="moz-txt-tag">*</span>must<span
class="moz-txt-tag">*</span></b> be called in the context of the
main thread (the thread that loaded the library). TFPTimer uses
Synchronize internally, [...]`<br>
<br>
But you didn't use the word `CheckSynchronize` anywhere in your
mail. You need to call this method regularly in you main thread, if
you don't call it, nothing will happen; you only fill up the queue
that CheckSynchronize is supposed to empty. See
<a class="moz-txt-link-freetext" href="http://www.freepascal.org/docs-html/rtl/classes/checksynchronize.html">http://www.freepascal.org/docs-html/rtl/classes/checksynchronize.html</a>
for more details on this call.<br>
<pre class="moz-signature" cols="72">--
Ewald</pre>
</body>
</html>