Hi,
Windows 10 x64
Berlin update 2
TMS Component Pack 9.2.3.1
There is a DC Handle leak when using AdvOfficeFontSelector and AdvOfficeFontSizeSelector.
To reproduce create new projetct,drop those controls on the form and run the project using a leak reporting tool. When you close the project you will notice the handle leak.
Can this be fixed?
Thanks!
Here is the log from madExcept if it can help:
allocation number: 2121731
program up time: 33,27 s
type: DC Handle
handle: $6011f35
main thread ($2f74):
671d30a6 madExcept32.dll madExceptDbg 5038 GetDCCallback
027d20d7 PBlocOp.exe AdvOfficeComboBox 3094 TAdvCustomOfficeComboBox.ResizeControl
027d218e PBlocOp.exe AdvOfficeComboBox 3120 TAdvCustomOfficeComboBox.WMSize
006cbd5a PBlocOp.exe Vcl.Controls TControl.WndProc
006d08a5 PBlocOp.exe Vcl.Controls TWinControl.WndProc
027d21fe PBlocOp.exe AdvOfficeComboBox 3144 TAdvCustomOfficeComboBox.WndProc
006cfec4 PBlocOp.exe Vcl.Controls TWinControl.MainWndProc
00552740 PBlocOp.exe System.Classes StdWndProc
775d28eb ntdll.dll KiUserCallbackDispatcher
74c867ea user32.dll CallWindowProcW
006d09b6 PBlocOp.exe Vcl.Controls TWinControl.DefaultHandler
allocation number: 2121719
program up time: 33,27 s
type: DC Handle
handle: $1d011f33
main thread ($2f74):
671d30a6 madExcept32.dll madExceptDbg 5038 GetDCCallback
027d20d7 PBlocOp.exe AdvOfficeComboBox 3094 TAdvCustomOfficeComboBox.ResizeControl
027d218e PBlocOp.exe AdvOfficeComboBox 3120 TAdvCustomOfficeComboBox.WMSize
006cbd5a PBlocOp.exe Vcl.Controls TControl.WndProc
006d08a5 PBlocOp.exe Vcl.Controls TWinControl.WndProc
027d21fe PBlocOp.exe AdvOfficeComboBox 3144 TAdvCustomOfficeComboBox.WndProc
006cfec4 PBlocOp.exe Vcl.Controls TWinControl.MainWndProc
00552740 PBlocOp.exe System.Classes StdWndProc
775d28eb ntdll.dll KiUserCallbackDispatcher
74c867ea user32.dll CallWindowProcW
006d09b6 PBlocOp.exe Vcl.Controls TWinControl.DefaultHandler
allocation number: 2121693
program up time: 33,27 s
type: DC Handle
handle: $12011da4
main thread ($2f74):
671d30a6 madExcept32.dll madExceptDbg 5038 GetDCCallback
027d20d7 PBlocOp.exe AdvOfficeComboBox 3094 TAdvCustomOfficeComboBox.ResizeControl
027ceafa PBlocOp.exe AdvOfficeComboBox 1769 TAdvCustomOfficeComboBox.CMFontChanged
006cbd5a PBlocOp.exe Vcl.Controls TControl.WndProc
006d08a5 PBlocOp.exe Vcl.Controls TWinControl.WndProc
027d21fe PBlocOp.exe AdvOfficeComboBox 3144 TAdvCustomOfficeComboBox.WndProc
006cb994 PBlocOp.exe Vcl.Controls TControl.Perform
006ca52d PBlocOp.exe Vcl.Controls TControl.FontChanged
0059b1df PBlocOp.exe Vcl.Graphics TGraphicsObject.Changed
0059b70d PBlocOp.exe Vcl.Graphics TFont.Changed
0059afe9 PBlocOp.exe Vcl.Graphics TResourceManager.AssignResource
0059b780 PBlocOp.exe Vcl.Graphics TFont.Assign
006ca539 PBlocOp.exe Vcl.Controls TControl.SetFont
006ccb6f PBlocOp.exe Vcl.Controls TControl.CMParentFontChanged
006cbd5a PBlocOp.exe Vcl.Controls TControl.WndProc
006ca539 PBlocOp.exe Vcl.Controls TControl.SetFont
006cbd5a PBlocOp.exe Vcl.Controls TControl.WndProc
006d08a5 PBlocOp.exe Vcl.Controls TWinControl.WndProc
027d21fe PBlocOp.exe AdvOfficeComboBox 3144 TAdvCustomOfficeComboBox.WndProc
006cf07d PBlocOp.exe Vcl.Controls TWinControl.Broadcast
006cf0dd PBlocOp.exe Vcl.Controls TWinControl.NotifyControls
006d2a4b PBlocOp.exe Vcl.Controls TWinControl.CMFontChanged
006cbd5a PBlocOp.exe Vcl.Controls TControl.WndProc
00b3776a PBlocOp.exe AdvToolBar 29100 TAdvCustomToolBarButton.WndProc
006cf07d PBlocOp.exe Vcl.Controls TWinControl.Broadcast
006cf0dd PBlocOp.exe Vcl.Controls TWinControl.NotifyControls
006d2a0e PBlocOp.exe Vcl.Controls TWinControl.CMColorChanged
006cb994 PBlocOp.exe Vcl.Controls TControl.Perform
006d0a0b PBlocOp.exe Vcl.Controls DoControlMsg
006cb994 PBlocOp.exe Vcl.Controls TControl.Perform
006ca52d PBlocOp.exe Vcl.Controls TControl.FontChanged
0059b1df PBlocOp.exe Vcl.Graphics TGraphicsObject.Changed
0059b70d PBlocOp.exe Vcl.Graphics TFont.Changed
0059afe9 PBlocOp.exe Vcl.Graphics TResourceManager.AssignResource
0059b780 PBlocOp.exe Vcl.Graphics TFont.Assign
006ca539 PBlocOp.exe Vcl.Controls TControl.SetFont
006ccb6f PBlocOp.exe Vcl.Controls TControl.CMParentFontChanged
006cbd5a PBlocOp.exe Vcl.Controls TControl.WndProc
006d08a5 PBlocOp.exe Vcl.Controls TWinControl.WndProc
00b28b72 PBlocOp.exe AdvToolBar 21994 TAdvCustomToolBar.WndProc
allocation number: 2121672
program up time: 33,27 s
type: DC Handle
handle: $de011c18
main thread ($2f74):
671d30a6 madExcept32.dll madExceptDbg 5038 GetDCCallback
027d20d7 PBlocOp.exe AdvOfficeComboBox 3094 TAdvCustomOfficeComboBox.ResizeControl
027d218e PBlocOp.exe AdvOfficeComboBox 3120 TAdvCustomOfficeComboBox.WMSize
006cbd5a PBlocOp.exe Vcl.Controls TControl.WndProc
006d08a5 PBlocOp.exe Vcl.Controls TWinControl.WndProc
027d21fe PBlocOp.exe AdvOfficeComboBox 3144 TAdvCustomOfficeComboBox.WndProc
006cfec4 PBlocOp.exe Vcl.Controls TWinControl.MainWndProc
00552740 PBlocOp.exe System.Classes StdWndProc
775d28eb ntdll.dll KiUserCallbackDispatcher
74c867ea user32.dll CallWindowProcW
006d09b6 PBlocOp.exe Vcl.Controls TWinControl.DefaultHandler