Thread View: borland.public.delphi.vcl.components.using.dotnet
2 messages
2 total messages
Started by ed k
Mon, 28 Nov 2005 16:37
AllocHWnd Fails after a number of Calls (TTimer, TPopupMenu, TListview drop and drag...)
Author: ed k
Date: Mon, 28 Nov 2005 16:37
Date: Mon, 28 Nov 2005 16:37
20 lines
2035 bytes
2035 bytes
The AllocHWnd function failes after a number of calls. It keeps appending the AppDomain.CurrentDomain.GetHashCode to the end the UtilWindowClass.lpszClassName. After about 100 calls the ClassName is Greater then 256 bytes. This causes windows to not create the new window handle. This is a serious bug, affecting TTimer, TPopupMenu http://groups.google.com/group/borland.public.delphi.vcl.components.using.dotnet/browse_thread/thread/58a855983d3c1d2e/7705f2b76a363ee3#7705f2b76a363ee3 and TListView Drop and drag (see QC report 21448 and http://groups.google.com/group/borland.public.delphi.vcl.components.using.dotnet/browse_thread/thread/90edeadb66f952b7/0f687543b552b91a#0f687543b552b91a). I am sure there are other components that use this call!!! This has been reported to Borland Qaulity Central report number 21771 Thanks Ed K.
Re: AllocHWnd Fails after a number of Calls (TTimer, TPopupMenu, TListview drop and drag...)
Author: ed k
Date: Mon, 28 Nov 2005 16:42
Date: Mon, 28 Nov 2005 16:42
2 lines
1402 bytes
1402 bytes
A fix the the source\dotNet\rtl\winUtils.pas was also posted in the Quality Central report 21711
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads