AV when drawing 3D chart
Posted: Wed May 23, 2007 12:06 pm
Hi,
We are getting access violations from TeeChart 7.11 while doing SVG export from a chart. The problem occurs if the first drawn chart is 3D. Non-3D charts work as expected.
We tracked the problem to be related to TWinControl initialization. We are running SVG export in server environment. It calls TCustomTeePanel.CreateParams (TeeProcs unit) while getting the window handle, which in turn has line
Later while exporting the chart that options instance is accessed and result is access violation. This also leaks a small amount of memory. Is it safe to comment that line in order to fix the problem? Or even better, how can we prevent this from out own code?
We are getting access violations from TeeChart 7.11 while doing SVG export from a chart. The problem occurs if the first drawn chart is 3D. Non-3D charts work as expected.
We tracked the problem to be related to TWinControl initialization. We are running SVG export in server environment. It calls TCustomTeePanel.CreateParams (TeeProcs unit) while getting the window handle, which in turn has line
Code: Select all
InternalCanvas.View3DOptions:=nil;