Hi,
when I use a AdvSmoothTouchKeyBoard I always get a ressource leak report when I close my application.
To reproduce:
Start a new project and drop a AdvSmoothTouchKeyBoard on a form.
Close the project.
You should notice a few rerrource leak of type GdipAlloc.
If you load a lot of form with a AdvSmoothTouchKeyBoard on them you will get many more leak of the same type.
I am using:
- TMS Component Pack 7.5.1.0
- Delphi 7
- Windows 7
The application I am using to get ressource leak reports is MadExcept.
Here is the report I get in case it can help. This report is from an empty project with a single AdvSmoothTouchKeyBoard that I load and close right away.
Thanks
BEGIN REPORT
allocation number: 5865
program up time: 513 ms
type: GdipAlloc
address: $5e67720
size: 16
access rights: ./.
main thread ($1f28):
671cdb02 madExcept32.dll madExceptDbg 2666 GdipAllocCallback
004b2a38 Project1.exe AdvGDIP 3171 TGdiplusBase.NewInstance
00404227 Project1.exe System @ClassCreate
004b6469 Project1.exe AdvGDIP 7180 TGPBitmap.Create
004c9508 Project1.exe AdvSmoothTouchKeyBoard 4038 TAdvSmoothTouchKeyItem.Draw
004bf9da Project1.exe AdvSmoothTouchKeyBoard 1518 TAdvSmoothTouchKeyBoard.DrawKeys
004c7457 Project1.exe AdvSmoothTouchKeyBoard 2938 TAdvSmoothTouchKeyBoard.Paint
004981cf Project1.exe Controls TCustomControl.PaintWindow
004942b2 Project1.exe Controls TWinControl.PaintHandler
004c8ba5 Project1.exe AdvSmoothTouchKeyBoard 3773 TAdvSmoothTouchKeyBoard.WMPaint
004c8c51 Project1.exe AdvSmoothTouchKeyBoard 3786 TAdvSmoothTouchKeyBoard.WMPaint
00491230 Project1.exe Controls TControl.WndProc
0049411b Project1.exe Controls TWinControl.WndProc
004c8cf6 Project1.exe AdvSmoothTouchKeyBoard 3800 TAdvSmoothTouchKeyBoard.WndProc
00493d98 Project1.exe Controls TWinControl.MainWndProc
0047bfd8 Project1.exe Classes StdWndProc
77160107 ntdll.dll KiUserCallbackDispatcher
76137bc5 user32.dll DispatchMessageA
004af40b Project1.exe Forms TApplication.ProcessMessage
004d2513 Project1.exe Project1 17 initialization
76633388 kernel32.dll BaseThreadInitThunk
allocation number: 5835
program up time: 512 ms
type: GdipAlloc
address: $5e48700
size: 16
access rights: ./.
main thread ($1f28):
671cdb02 madExcept32.dll madExceptDbg 2666 GdipAllocCallback
004b2a38 Project1.exe AdvGDIP 3171 TGdiplusBase.NewInstance
00404227 Project1.exe System @ClassCreate
004b6469 Project1.exe AdvGDIP 7180 TGPBitmap.Create
004c9508 Project1.exe AdvSmoothTouchKeyBoard 4038 TAdvSmoothTouchKeyItem.Draw
004bf9da Project1.exe AdvSmoothTouchKeyBoard 1518 TAdvSmoothTouchKeyBoard.DrawKeys
004c7457 Project1.exe AdvSmoothTouchKeyBoard 2938 TAdvSmoothTouchKeyBoard.Paint
004981cf Project1.exe Controls TCustomControl.PaintWindow
004942b2 Project1.exe Controls TWinControl.PaintHandler
004c8ba5 Project1.exe AdvSmoothTouchKeyBoard 3773 TAdvSmoothTouchKeyBoard.WMPaint
004c8c51 Project1.exe AdvSmoothTouchKeyBoard 3786 TAdvSmoothTouchKeyBoard.WMPaint
00491230 Project1.exe Controls TControl.WndProc
0049411b Project1.exe Controls TWinControl.WndProc
004c8cf6 Project1.exe AdvSmoothTouchKeyBoard 3800 TAdvSmoothTouchKeyBoard.WndProc
00493d98 Project1.exe Controls TWinControl.MainWndProc
0047bfd8 Project1.exe Classes StdWndProc
77160107 ntdll.dll KiUserCallbackDispatcher
76137bc5 user32.dll DispatchMessageA
004af40b Project1.exe Forms TApplication.ProcessMessage
004d2513 Project1.exe Project1 17 initialization
76633388 kernel32.dll BaseThreadInitThunk
allocation number: 5761
program up time: 509 ms
type: GdipAlloc
address: $5e48738
size: 16
access rights: ./.
main thread ($1f28):
671cdb02 madExcept32.dll madExceptDbg 2666 GdipAllocCallback
004b2a38 Project1.exe AdvGDIP 3171 TGdiplusBase.NewInstance
00404227 Project1.exe System @ClassCreate
004b6469 Project1.exe AdvGDIP 7180 TGPBitmap.Create
004c9508 Project1.exe AdvSmoothTouchKeyBoard 4038 TAdvSmoothTouchKeyItem.Draw
004bf9da Project1.exe AdvSmoothTouchKeyBoard 1518 TAdvSmoothTouchKeyBoard.DrawKeys
004c7457 Project1.exe AdvSmoothTouchKeyBoard 2938 TAdvSmoothTouchKeyBoard.Paint
004981cf Project1.exe Controls TCustomControl.PaintWindow
004942b2 Project1.exe Controls TWinControl.PaintHandler
004c8ba5 Project1.exe AdvSmoothTouchKeyBoard 3773 TAdvSmoothTouchKeyBoard.WMPaint
004c8c51 Project1.exe AdvSmoothTouchKeyBoard 3786 TAdvSmoothTouchKeyBoard.WMPaint
00491230 Project1.exe Controls TControl.WndProc
0049411b Project1.exe Controls TWinControl.WndProc
004c8cf6 Project1.exe AdvSmoothTouchKeyBoard 3800 TAdvSmoothTouchKeyBoard.WndProc
00493d98 Project1.exe Controls TWinControl.MainWndProc
0047bfd8 Project1.exe Classes StdWndProc
77160107 ntdll.dll KiUserCallbackDispatcher
76137bc5 user32.dll DispatchMessageA
004af40b Project1.exe Forms TApplication.ProcessMessage
004d2513 Project1.exe Project1 17 initialization
76633388 kernel32.dll BaseThreadInitThunk
allocation number: 5685
program up time: 507 ms
type: GdipAlloc
address: $5e559b8
size: 16
access rights: ./.
main thread ($1f28):
671cdb02 madExcept32.dll madExceptDbg 2666 GdipAllocCallback
004b2a38 Project1.exe AdvGDIP 3171 TGdiplusBase.NewInstance
00404227 Project1.exe System @ClassCreate
004b6469 Project1.exe AdvGDIP 7180 TGPBitmap.Create
004c9508 Project1.exe AdvSmoothTouchKeyBoard 4038 TAdvSmoothTouchKeyItem.Draw
004bf9da Project1.exe AdvSmoothTouchKeyBoard 1518 TAdvSmoothTouchKeyBoard.DrawKeys
004c7457 Project1.exe AdvSmoothTouchKeyBoard 2938 TAdvSmoothTouchKeyBoard.Paint
004981cf Project1.exe Controls TCustomControl.PaintWindow
004942b2 Project1.exe Controls TWinControl.PaintHandler
004c8ba5 Project1.exe AdvSmoothTouchKeyBoard 3773 TAdvSmoothTouchKeyBoard.WMPaint
004c8c51 Project1.exe AdvSmoothTouchKeyBoard 3786 TAdvSmoothTouchKeyBoard.WMPaint
00491230 Project1.exe Controls TControl.WndProc
0049411b Project1.exe Controls TWinControl.WndProc
004c8cf6 Project1.exe AdvSmoothTouchKeyBoard 3800 TAdvSmoothTouchKeyBoard.WndProc
00493d98 Project1.exe Controls TWinControl.MainWndProc
0047bfd8 Project1.exe Classes StdWndProc
77160107 ntdll.dll KiUserCallbackDispatcher
76137bc5 user32.dll DispatchMessageA
004af40b Project1.exe Forms TApplication.ProcessMessage
004d2513 Project1.exe Project1 17 initialization
76633388 kernel32.dll BaseThreadInitThunk
allocation number: 5670
program up time: 506 ms
type: GdipAlloc
address: $5e52578
size: 16
access rights: ./.
main thread ($1f28):
671cdb02 madExcept32.dll madExceptDbg 2666 GdipAllocCallback
004b2a38 Project1.exe AdvGDIP 3171 TGdiplusBase.NewInstance
00404227 Project1.exe System @ClassCreate
004b6469 Project1.exe AdvGDIP 7180 TGPBitmap.Create
004c9508 Project1.exe AdvSmoothTouchKeyBoard 4038 TAdvSmoothTouchKeyItem.Draw
004bf9da Project1.exe AdvSmoothTouchKeyBoard 1518 TAdvSmoothTouchKeyBoard.DrawKeys
004c7457 Project1.exe AdvSmoothTouchKeyBoard 2938 TAdvSmoothTouchKeyBoard.Paint
004981cf Project1.exe Controls TCustomControl.PaintWindow
004942b2 Project1.exe Controls TWinControl.PaintHandler
004c8ba5 Project1.exe AdvSmoothTouchKeyBoard 3773 TAdvSmoothTouchKeyBoard.WMPaint
004c8c51 Project1.exe AdvSmoothTouchKeyBoard 3786 TAdvSmoothTouchKeyBoard.WMPaint
00491230 Project1.exe Controls TControl.WndProc
0049411b Project1.exe Controls TWinControl.WndProc
004c8cf6 Project1.exe AdvSmoothTouchKeyBoard 3800 TAdvSmoothTouchKeyBoard.WndProc
00493d98 Project1.exe Controls TWinControl.MainWndProc
0047bfd8 Project1.exe Classes StdWndProc
77160107 ntdll.dll KiUserCallbackDispatcher
76137bc5 user32.dll DispatchMessageA
004af40b Project1.exe Forms TApplication.ProcessMessage
004d2513 Project1.exe Project1 17 initialization
76633388 kernel32.dll BaseThreadInitThunk
allocation number: 5586
program up time: 503 ms
type: GdipAlloc
address: $5e39518
size: 16
access rights: ./.
main thread ($1f28):
671cdb02 madExcept32.dll madExceptDbg 2666 GdipAllocCallback
004b2a38 Project1.exe AdvGDIP 3171 TGdiplusBase.NewInstance
00404227 Project1.exe System @ClassCreate
004b6469 Project1.exe AdvGDIP 7180 TGPBitmap.Create
004c9508 Project1.exe AdvSmoothTouchKeyBoard 4038 TAdvSmoothTouchKeyItem.Draw
004bf9da Project1.exe AdvSmoothTouchKeyBoard 1518 TAdvSmoothTouchKeyBoard.DrawKeys
004c7457 Project1.exe AdvSmoothTouchKeyBoard 2938 TAdvSmoothTouchKeyBoard.Paint
004981cf Project1.exe Controls TCustomControl.PaintWindow
004942b2 Project1.exe Controls TWinControl.PaintHandler
004c8ba5 Project1.exe AdvSmoothTouchKeyBoard 3773 TAdvSmoothTouchKeyBoard.WMPaint
004c8c51 Project1.exe AdvSmoothTouchKeyBoard 3786 TAdvSmoothTouchKeyBoard.WMPaint
00491230 Project1.exe Controls TControl.WndProc
0049411b Project1.exe Controls TWinControl.WndProc
004c8cf6 Project1.exe AdvSmoothTouchKeyBoard 3800 TAdvSmoothTouchKeyBoard.WndProc
00493d98 Project1.exe Controls TWinControl.MainWndProc
0047bfd8 Project1.exe Classes StdWndProc
77160107 ntdll.dll KiUserCallbackDispatcher
76137bc5 user32.dll DispatchMessageA
004af40b Project1.exe Forms TApplication.ProcessMessage
004d2513 Project1.exe Project1 17 initialization
76633388 kernel32.dll BaseThreadInitThunk
allocation number: 5571
program up time: 503 ms
type: GdipAlloc
address: $5e389b8
size: 16
access rights: ./.
main thread ($1f28):
671cdb02 madExcept32.dll madExceptDbg 2666 GdipAllocCallback
004b2a38 Project1.exe AdvGDIP 3171 TGdiplusBase.NewInstance
00404227 Project1.exe System @ClassCreate
004b6469 Project1.exe AdvGDIP 7180 TGPBitmap.Create
004c9508 Project1.exe AdvSmoothTouchKeyBoard 4038 TAdvSmoothTouchKeyItem.Draw
004bf9da Project1.exe AdvSmoothTouchKeyBoard 1518 TAdvSmoothTouchKeyBoard.DrawKeys
004c7457 Project1.exe AdvSmoothTouchKeyBoard 2938 TAdvSmoothTouchKeyBoard.Paint
004981cf Project1.exe Controls TCustomControl.PaintWindow
004942b2 Project1.exe Controls TWinControl.PaintHandler
004c8ba5 Project1.exe AdvSmoothTouchKeyBoard 3773 TAdvSmoothTouchKeyBoard.WMPaint
004c8c51 Project1.exe AdvSmoothTouchKeyBoard 3786 TAdvSmoothTouchKeyBoard.WMPaint
00491230 Project1.exe Controls TControl.WndProc
0049411b Project1.exe Controls TWinControl.WndProc
004c8cf6 Project1.exe AdvSmoothTouchKeyBoard 3800 TAdvSmoothTouchKeyBoard.WndProc
00493d98 Project1.exe Controls TWinControl.MainWndProc
0047bfd8 Project1.exe Classes StdWndProc
77160107 ntdll.dll KiUserCallbackDispatcher
76137bc5 user32.dll DispatchMessageA
004af40b Project1.exe Forms TApplication.ProcessMessage
004d2513 Project1.exe Project1 17 initialization
76633388 kernel32.dll BaseThreadInitThunk
allocation number: 5447
program up time: 499 ms
type: GdipAlloc
address: $5e27748
size: 16
access rights: ./.
main thread ($1f28):
671cdb02 madExcept32.dll madExceptDbg 2666 GdipAllocCallback
004b2a38 Project1.exe AdvGDIP 3171 TGdiplusBase.NewInstance
00404227 Project1.exe System @ClassCreate
004b6469 Project1.exe AdvGDIP 7180 TGPBitmap.Create
004c9508 Project1.exe AdvSmoothTouchKeyBoard 4038 TAdvSmoothTouchKeyItem.Draw
004bf9da Project1.exe AdvSmoothTouchKeyBoard 1518 TAdvSmoothTouchKeyBoard.DrawKeys
004c7457 Project1.exe AdvSmoothTouchKeyBoard 2938 TAdvSmoothTouchKeyBoard.Paint
004981cf Project1.exe Controls TCustomControl.PaintWindow
004942b2 Project1.exe Controls TWinControl.PaintHandler
004c8ba5 Project1.exe AdvSmoothTouchKeyBoard 3773 TAdvSmoothTouchKeyBoard.WMPaint
004c8c51 Project1.exe AdvSmoothTouchKeyBoard 3786 TAdvSmoothTouchKeyBoard.WMPaint
00491230 Project1.exe Controls TControl.WndProc
0049411b Project1.exe Controls TWinControl.WndProc
004c8cf6 Project1.exe AdvSmoothTouchKeyBoard 3800 TAdvSmoothTouchKeyBoard.WndProc
00493d98 Project1.exe Controls TWinControl.MainWndProc
0047bfd8 Project1.exe Classes StdWndProc
77160107 ntdll.dll KiUserCallbackDispatcher
76137bc5 user32.dll DispatchMessageA
004af40b Project1.exe Forms TApplication.ProcessMessage
004d2513 Project1.exe Project1 17 initialization
76633388 kernel32.dll BaseThreadInitThunk
END REPORT
We traced & solved this issue. The next update will address this.