找回密码
 立即注册

QQ登录

只需一步,快速开始

wangzebin

注册会员

10

主题

27

帖子

81

积分

注册会员

积分
81

[已处理] c1 GDI+ 错误

wangzebin
注册会员   /  发表于:2018-1-2 08:54  /   查看:2835  /  回复:3
【异常时间】:2017-12-29 16:06:51
【异常类型】:ExternalException
【异常信息】:GDI+ 中发生一般性错误。
【异常堆栈】:   在 System.Drawing.Graphics.CheckErrorStatus(Int32 status)
   在 System.Drawing.Graphics.FillRectangle(Brush brush, Int32 x, Int32 y, Int32 width, Int32 height)
   在 System.Drawing.Graphics.FillRectangle(Brush brush, Rectangle rect)
   在 ..Render(Style s, Graphics g, Rectangle r, String str, Image img,  flags)
   在 C1.Win.C1FlexGrid.C1FlexGridBase.(Graphics g, Int32 row, Int32 col, Style s, Rectangle rc, String str, Image img, DrawCellFlags flags)
   在 C1.Win.C1FlexGrid.C1FlexGridBase.(Graphics g, Int32 row, Int32 col, Style s, Rectangle rc, String str, Image img, DrawCellFlags flags)
   在 C1.Win.C1FlexGrid.C1FlexGridBase.(Graphics g, Int32 row, Int32 col, Style s, Rectangle rc, String str, Image img)
   在 C1.Win.C1FlexGrid.C1FlexGridBase.DrawCell(Graphics g, Int32 row, Int32 col, Style s, Rectangle rc, String str, Image img, CheckEnum chk)
   在 C1.Win.C1FlexGrid.C1FlexGridBase.DrawCell(PaintEventArgs e, Int32 row, Int32 col)
   在 C1.Win.C1FlexGrid.C1FlexGrid.DrawCell(PaintEventArgs e, Int32 row, Int32 col)
   在 C1.Win.C1FlexGrid.C1FlexGrid.DrawRow(PaintEventArgs e, Int32 row)
   在 C1.Win.C1FlexGrid.C1FlexGridBase.(PaintEventArgs e)
   在 C1.Win.C1FlexGrid.C1FlexGridBase.OnPaint(PaintEventArgs e)
   在 System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   在 System.Windows.Forms.Control.WmPaint(Message& m)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 C1.Win.C1FlexGrid.Util.BaseControls.ScrollableControl.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

部分系统偶尔会提示GDI+错误,请问这个是什么原因呢,内存吗?

3 个回复

倒序浏览
JeffryLI
葡萄城公司职员   /  发表于:2018-1-2 10:27:58
沙发
您好,需要您提供一下您的操作系统版本,ComponentOne的版本,以及相关的是能重现的Demo.我们这边帮您调查一下原因。
请点击评分,对我5分评价,谢谢!

葡萄城控件服务团队
官方网站: https://www.grapecity.com.cn/developer
回复 使用道具 举报
wangzebin
注册会员   /  发表于:2018-1-2 10:33:39
板凳
JeffryLI 发表于 2018-1-2 10:27
您好,需要您提供一下您的操作系统版本,ComponentOne的版本,以及相关的是能重现的Demo.我们这边帮您调查 ...

老师您好,这个是客户电脑,xp,win7都有,偶尔会出现,不好重现的,一般出现这种情况的原因是什么呢
回复 使用道具 举报
JeffryLI
葡萄城公司职员   /  发表于:2018-1-2 11:21:19
地板
您好,这个您的电脑操作系统有关,比如是32位还是64位的,还有就是.netFramework的版本也有关,比如在xp上应该选择2.0的控件能更好的兼容的xp系统。以上希望能帮到您。
请点击评分,对我5分评价,谢谢!

葡萄城控件服务团队
官方网站: https://www.grapecity.com.cn/developer
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部