SAS 可以绘图, 但是EG不行。
一绘图就会出现以下错误信息:
SAS Enterprise Guide has encountered a problem. We recommend that you save your work and restart SAS Enterprise Guide.
--------------------------------------------------------
System.AccessViolationException
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
------------------------------ Technical Information Follows ------------------------------
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SAS.Report.Viewer.IViewObject.Draw(Int32 dwDrawAspect, Int32 lindex, IntPtr pvAspect, tagDVTARGETDEVICE ptd, IntPtr hdcTargetDev, IntPtr hdcDraw, COMRECT lprcBounds, COMRECT lprcWBounds, IntPtr pfnContinue, Int32 dwContinue)
at SAS.Report.Viewer.GraphicsReportWriter.DrawViewObject(IViewObject iViewObject, Rectangle pixelRect)
at SAS.Report.Viewer.Graph.Draw(IReportWriter reportWriter, Rectangle gridCell)
at SAS.Report.Viewer.Graph.Draw(IReportWriter reportWriter, Rectangle gridCell, IReportLayout reportLayout)
at SAS.Report.Viewer.SASReportView.RenderVisualContainer(IReportWriter reportWriter, VisualContainerInterface visualContainer, Int32 topOffset, Int32 leftOffset, GriddedLayoutEngine gle, Int32 clientWidth, LayoutMode mode, IconRenderer iconRenderer, IReportLayout reportLayout)
at SAS.Report.Viewer.SASReportView.RenderWebView(Graphics graphics)
at SAS.Report.Viewer.SASReportView.OnPaint(PaintEventArgs e)
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.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at SAS.Report.Viewer.SASReportView.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)
------------------------------ End of Technical Information ------------------------------