Tee chart direct2d issue , gives red cross in the form.
Posted: Tue Jul 16, 2013 6:27 am
Hello,
I have made a sample demo project to explain.
I am just adding random values in the fastline series.
once the plotting starts , I hit ctrl , alt , delete and try to open the task manager. and graph disappear and I get red cross in the graph.
The error is related to d2d, if i don't use direct2d then it runs without any issue.
Error log is attached. and sample project too.
The error is
SlimDX.Direct2D.Direct2DException: D2DERR_RECREATE_TARGET: here has been a presentation error that may be recoverable. The caller needs to recreate, rerender the entire frame, and reattempt present. (-2003238900)
at SlimDX.Result.Throw[T](Object dataKey, Object dataValue)
at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue)
at SlimDX.Direct2D.RenderTarget.EndDraw()
at Steema.TeeChart.Drawing.Direct2D.Graphics3DDirect2D.ShowImage(Graphics g)
at Steema.TeeChart.TChart.Draw(Graphics g)
at Steema.TeeChart.TChart.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Please let me know if I am missing anything.
Thank you.
I have made a sample demo project to explain.
I am just adding random values in the fastline series.
once the plotting starts , I hit ctrl , alt , delete and try to open the task manager. and graph disappear and I get red cross in the graph.
The error is related to d2d, if i don't use direct2d then it runs without any issue.
Error log is attached. and sample project too.
The error is
SlimDX.Direct2D.Direct2DException: D2DERR_RECREATE_TARGET: here has been a presentation error that may be recoverable. The caller needs to recreate, rerender the entire frame, and reattempt present. (-2003238900)
at SlimDX.Result.Throw[T](Object dataKey, Object dataValue)
at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue)
at SlimDX.Direct2D.RenderTarget.EndDraw()
at Steema.TeeChart.Drawing.Direct2D.Graphics3DDirect2D.ShowImage(Graphics g)
at Steema.TeeChart.TChart.Draw(Graphics g)
at Steema.TeeChart.TChart.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Please let me know if I am missing anything.
Thank you.