I installed the latest build for VS.NET 2002, and opened TeeChart for .NET Examples. I clicked on New Features | Chart | Canvas | Rotated Ellipses, and I encountered the following exception.
************** Exception Text **************
System.OverflowException: Overflow error.
at System.Drawing.Graphics.FillPolygon(Brush brush, Point[] points, FillMode fillMode)
at System.Drawing.Graphics.FillPolygon(Brush brush, Point[] points)
at Steema.TeeChart.Drawing.Graphics3DGdiPlus.Polygon(Point[] p)
at Steema.TeeChart.Drawing.Graphics3D.Polygon(Int32 z, Point[] p)
at Steema.TeeChart.Drawing.Graphics3D.Ellipse(Int32 left, Int32 top, Int32 right, Int32 bottom, Int32 z, Double angle)
at Steema.TeeChart.Samples.Canvas_RotatedEllipse.tChart1_AfterDraw(Object sender, Graphics3D g)
at Steema.TeeChart.TChart.Steema.TeeChart.IChart.DoAfterDraw()
at Steema.TeeChart.TChart.Draw(Graphics g)
at Steema.TeeChart.TChart.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/winnt/microsoft.net/framework/v1.0.3705/mscorlib.dll
----------------------------------------
TeeChartNetExamples
Assembly Version: 2.0.1468.24327
Win32 Version: 2.0.1468.24327
CodeBase: file:///C:/Program%20Files/Steema%20Software/TeeChart%20for%20.NET%20v1/Examples/DemoProject/bin/ExecutableDemo/TeeChartNetExamples.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/winnt/assembly/gac/system.windows.forms/1.0.3300.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/winnt/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/winnt/assembly/gac/system.drawing/1.0.3300.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
AxInterop.SHDocVw
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files/Steema%20Software/TeeChart%20for%20.NET%20v1/Examples/DemoProject/bin/ExecutableDemo/AxInterop.SHDocVw.DLL
----------------------------------------
Interop.SHDocVw
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files/Steema%20Software/TeeChart%20for%20.NET%20v1/Examples/DemoProject/bin/ExecutableDemo/Interop.SHDocVw.DLL
----------------------------------------
Accessibility
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.0
CodeBase: file:///c:/winnt/assembly/gac/accessibility/1.0.3300.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
TeeChart
Assembly Version: 1.0.1452.42972
Win32 Version: 1.0.1452.42972
CodeBase: file:///C:/Program%20Files/Steema%20Software/TeeChart%20for%20.NET%20v1/Examples/DemoProject/bin/ExecutableDemo/TeeChart.DLL
----------------------------------------
System.Web
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/winnt/assembly/gac/system.web/1.0.3300.0__b03f5f7f11d50a3a/system.web.dll
----------------------------------------
System.Design
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/winnt/assembly/gac/system.design/1.0.3300.0__b03f5f7f11d50a3a/system.design.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
Unhandled Exception in Examples
Hello,
I can't reproduce that straight-off here, I've tried it with the VS2002 and VS2003 compiled versions. I assume the other examples work OK?
I can't see an obvious cause for the problem though the error log does show that system.dll from Framework 1.1 is being accessed, that may be worth following up on. Reflecting here shows that the example project was compiled with dependency of v1.0.3300.0 (VS2002 Framework v1.0.3705 I believe).
Regards,
Marc Meumann
Steema Support
I can't reproduce that straight-off here, I've tried it with the VS2002 and VS2003 compiled versions. I assume the other examples work OK?
I can't see an obvious cause for the problem though the error log does show that system.dll from Framework 1.1 is being accessed, that may be worth following up on. Reflecting here shows that the example project was compiled with dependency of v1.0.3300.0 (VS2002 Framework v1.0.3705 I believe).
Regards,
Marc Meumann
Steema Support