Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Windows Handle Bug

1 view
Skip to first unread message

Philippe Spiteri

unread,
Mar 13, 2006, 5:40:45 AM3/13/06
to

I am new to Delphi and BDS.
I inherited a piece of Delphi 2005 code that's not working. This DotNet VCL form application uses TTimer and PopupMenu. Every time it creates a form that has a TTimer it allocates a windows handle for that timer. Even if I close and destroy the form when I recreate the form the system keeps appending characters to the name of the handle. It does that until the name is too long and windows refuses to create the handle (and the application freeze).
Is there a solution to that problem (other than Not using TTimers or Not destroying and recreating the form). I upgraded to BDS2006 thinking that it might fix the problem but I is still there.
Report 21771 on the Borland Developer Network talks about this issue. I recompiled Borland.vcl.WinUtils as indicated but that did not fix anything. How can I make sure I am linking against the modifed library file???

Am I missing something obvious??
Any help would be greatly appreciated.

Philippe Spiteri

Message has been deleted
0 new messages