This is the callstack the debugger outputs:
Code: Select all
:76bbc42d KERNELBASE.RaiseException + 0x58
:00bb9982 HookedRaiseException + $66
Vcl.Touch.Gestures.TPlatformGestureEngine.TRealTimeStylus.EnableStylus(???,???)
Vcl.Touch.Gestures.TPlatformGestureEngine.TRealTimeStylus.SetEnabled(???)
Vcl.Touch.Gestures.TPlatformGestureEngine.TRealTimeStylus.Uninitialize
Vcl.Touch.Gestures.TPlatformGestureEngine.Destroy
System.TObject.Free
Vcl.Controls.TWinControl.Destroy
Vcl.Controls.TCustomControl.Destroy
:00c3d1a4 TPlatformGestureEngine.Destroy + $1C
Code: Select all
ClassName: 'EGestureException'
Message: 'Unable to enable or disable IRealTimeStylus: Wrong Parameter'
[16.03.2015 10:55:04.773] Exception-Stack:
[16.03.2015 10:55:04.773] [00C3CEB9] Vcl.Touch.Gestures.TPlatformGestureEngine.TRealTimeStylus.EnableStylus$qqroo (Line 999, "Vcl.Touch.Gestures.pas")
[16.03.2015 10:55:04.773] [00C3C732] Vcl.Touch.Gestures.TPlatformGestureEngine.TRealTimeStylus.SetEnabled$qqrxo (Line 801, "Vcl.Touch.Gestures.pas")
[16.03.2015 10:55:04.773] [00C3CF7A] Vcl.Touch.Gestures.TPlatformGestureEngine.TRealTimeStylus.Uninitialize$qqrv (Line 1023, "Vcl.Touch.Gestures.pas")
[16.03.2015 10:55:04.774] [00C3D19F] Vcl.Touch.Gestures.TPlatformGestureEngine.$bdtr$qqrv (Line 1071, "Vcl.Touch.Gestures.pas")
[16.03.2015 10:55:04.774] [0041A960] FastMM4.DebugFreeMem$qqrpv (Line 313, "frxBarcode.pas")
[16.03.2015 10:55:04.774] [00408E18] System.TObject.Free$qqrv (Line 15718, "System.pas")
[16.03.2015 10:55:04.774] [00566160] Vcl.Controls.TWinControl.$bdtr$qqrv (Line 8378, "Vcl.Controls.pas")
[16.03.2015 10:55:04.774] [00409536] System.@ClassDestroy$qqrxp14System.TObject (Line 16993, "System.pas")
[16.03.2015 10:55:04.774] [0056EC80] Vcl.Controls.TCustomControl.$bdtr$qqrv (Line 13819, "Vcl.Controls.pas")
[16.03.2015 10:55:04.774] [00C60F21] VCLTee.TeeProcs.Teeprocs.TCustomTeePanel.$bdtr$qqrv
[16.03.2015 10:55:04.774] [00C63F1E] VCLTee.TeeProcs.Teeprocs.TCustomTeePanelExtended.$bdtr$qqrv
[16.03.2015 10:55:04.774] [00C9F444] VCLTee.TeEngine.Teengine.TCustomAxisPanel.$bdtr$qqrv
[16.03.2015 10:55:04.774] [00CC2BDB] VCLTee.Chart.TCustomChart.$bdtr$qqrv
[16.03.2015 10:55:04.774] [005661BC] Vcl.Controls.TWinControl.$bdtr$qqrv (Line 8390, "Vcl.Controls.pas")
[16.03.2015 10:55:04.774] [00409536] System.@ClassDestroy$qqrxp14System.TObject (Line 16993, "System.pas")
[16.03.2015 10:55:04.774] [0056EC80] Vcl.Controls.TCustomControl.$bdtr$qqrv (Line 13819, "Vcl.Controls.pas")
[16.03.2015 10:55:04.774] [005661BC] Vcl.Controls.TWinControl.$bdtr$qqrv (Line 8390, "Vcl.Controls.pas")
[16.03.2015 10:55:04.774] [00409536] System.@ClassDestroy$qqrxp14System.TObject (Line 16993, "System.pas")
[16.03.2015 10:55:04.774] [00669DBF] Vcl.Forms.TScrollingWinControl.$bdtr$qqrv (Line 3060, "Vcl.Forms.pas")
[16.03.2015 10:55:04.774] [00E6187F] SomeFrameWithAChartBase.TSomeFrameWithAChartBase.$bdtr$qqrv (Line 616, "SomeFrameWithAChartBase.pas")
[16.03.2015 10:55:04.774] [00EBA24B] fs_iilparser.DoInclude (Line 274, "fs_iilparser.pas")
[16.03.2015 10:55:04.774] [00F80E75] SomeFrameWithAChart.TSomeFrameWithAChart.$bdtr$qqrv (Line 118, "SomeFrameWithAChart.pas")
[16.03.2015 10:55:04.774] [005661BC] Vcl.Controls.TWinControl.$bdtr$qqrv (Line 8390, "Vcl.Controls.pas")
[16.03.2015 10:55:04.774] [00409536] System.@ClassDestroy$qqrxp14System.TObject (Line 16993, "System.pas")
[16.03.2015 10:55:04.774] [0056EC80] Vcl.Controls.TCustomControl.$bdtr$qqrv (Line 13819, "Vcl.Controls.pas")
[16.03.2015 10:55:04.774] [005EE568] Vcl.ExtCtrls.Extctrls.TCustomGridPanel.$bdtr$qqrv (Line 3818, "Vcl.ExtCtrls.pas")
[16.03.2015 10:55:04.774] [0056745C] Vcl.Controls.TWinControl.Remove$qqrp21Vcl.Controls.TControl (Line 9044, "Vcl.Controls.pas")
[16.03.2015 10:55:04.774] [005661BC] Vcl.Controls.TWinControl.$bdtr$qqrv (Line 8390, "Vcl.Controls.pas")
[16.03.2015 10:55:04.774] [00560DD9] Vcl.Controls.ListRemove$qqrrp20System.Classes.TListpv (Line 4911, "Vcl.Controls.pas")
[16.03.2015 10:55:04.774] [005B0AE8] Vcl.ComCtrls.Comctrls.TTabSheet.$bdtr$qqrv (Line 6177, "Vcl.ComCtrls.pas")
[16.03.2015 10:55:04.775] [005661BC] Vcl.Controls.TWinControl.$bdtr$qqrv (Line 8390, "Vcl.Controls.pas")
[16.03.2015 10:55:04.775] [00409536] System.@ClassDestroy$qqrxp14System.TObject (Line 16993, "System.pas")
[16.03.2015 10:55:04.775] [005AFAD5] Vcl.ComCtrls.Comctrls.TCustomTabControl.$bdtr$qqrv (Line 5636, "Vcl.ComCtrls.pas")
[16.03.2015 10:55:04.775] [005B1188] Vcl.ComCtrls.Comctrls.TPageControl.$bdtr$qqrv (Line 6411, "Vcl.ComCtrls.pas")
[16.03.2015 10:55:04.775] [005661BC] Vcl.Controls.TWinControl.$bdtr$qqrv (Line 8390, "Vcl.Controls.pas")
[16.03.2015 10:55:04.775] [00409536] System.@ClassDestroy$qqrxp14System.TObject (Line 16993, "System.pas")
[16.03.2015 10:55:04.775] [0056EC80] Vcl.Controls.TCustomControl.$bdtr$qqrv (Line 13819, "Vcl.Controls.pas")
[16.03.2015 10:55:04.775] [005EE568] Vcl.ExtCtrls.Extctrls.TCustomGridPanel.$bdtr$qqrv (Line 3818, "Vcl.ExtCtrls.pas")
[16.03.2015 10:55:04.775] [0056745C] Vcl.Controls.TWinControl.Remove$qqrp21Vcl.Controls.TControl (Line 9044, "Vcl.Controls.pas")
[16.03.2015 10:55:04.775] [005661BC] Vcl.Controls.TWinControl.$bdtr$qqrv (Line 8390, "Vcl.Controls.pas")
[16.03.2015 10:55:04.775] [00409536] System.@ClassDestroy$qqrxp14System.TObject (Line 16993, "System.pas")
[16.03.2015 10:55:04.775] [00669DBF] Vcl.Forms.TScrollingWinControl.$bdtr$qqrv (Line 3060, "Vcl.Forms.pas")
[16.03.2015 10:55:04.775] [0066B03C] Vcl.Forms.TCustomForm.$bdtr$qqrv (Line 3732, "Vcl.Forms.pas")
[16.03.2015 10:55:04.775] [01070E44] MainFormUnit.TMainForm.$bdtr$qqrv (Line 1395, "MainFormUnit.pas")
[16.03.2015 10:55:04.775] [00408E18] System.TObject.Free$qqrv (Line 15718, "System.pas")
[16.03.2015 10:55:04.775] [010B36C2] disposeGUI$qqrv (Line 99, "myCompany.GUI.StdGUI.pas")
I have a TChart that sits on a TFrame. The frame has a TGestureManager on it which is used by the OnGesture event of the chart.