πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13000

Re: Not enough timers available

#13000
From: Hans Galema
Date: Mon, 03 Nov 2003 18:48
16 lines
1765 bytes
Yahia El-Qasem wrote:

> I don't think it is a good idea to disable and enable the timer within the
> event beacause it results in destroying and recreating it everytime the
> event is triggered...

Are you really sure that by setting the Enable property of a TTimer
a Win32 timer is created or destroyed ? Cannot such a timer be enabled ?

> my apps run on Win NT and Win2K server machines... without ever seeing a
> problem like the one you describe happen.

Never saw a problem like that too, while using the same approachs as
InοΏ½s.

Hans.
Technical Details
Message-ID: <3fa6a233@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fa6983b$1@newsgroups.borland.com> <3fa69bc0$2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,b8fa3a8b1adf4915
X-Google-Attributes: gid10cc67,public
X-Google-Thread: f5c5c,b8fa3a8b1adf4915
X-Google-Attributes: gidf5c5c,public
X-Google-ArrivalTime: 2003-11-03 11:10:54 PST
Date: Mon, 03 Nov 2003 19:48:18 +0100
From: Hans Galema <dontusethis@dontusethis.nl>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3.1) Gecko/20030425
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi,borland.public.cppbuilder.vcl.components.using
Subject: Re: Not enough timers available
References: <3fa6983b$1@newsgroups.borland.com> <3fa69bc0$2@newsgroups.borland.com>
In-Reply-To: <3fa69bc0$2@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 129.125.108.11
Message-ID: <3fa6a233@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1067885107 129.125.108.11 (3 Nov 2003 10:45:07 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail