惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

G
Google Developers Blog
有赞技术团队
有赞技术团队
WordPress大学
WordPress大学
博客园 - 司徒正美
D
Docker
B
Blog
V
Visual Studio Blog
Blog — PlanetScale
Blog — PlanetScale
U
Unit 42
S
SegmentFault 最新的问题
小众软件
小众软件
J
Java Code Geeks
美团技术团队
腾讯CDC
MyScale Blog
MyScale Blog
爱范儿
爱范儿
H
Help Net Security
宝玉的分享
宝玉的分享
Microsoft Azure Blog
Microsoft Azure Blog
A
About on SuperTechFans
Google DeepMind News
Google DeepMind News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
博客园 - 【当耐特】

博客园 - winzheng

[转]DBCC DBREINDEX重建索引提高SQL Server性能 算法,一个永恒的话题,挑战你的编程之美。 QQ群消息:友情提醒。 ObjectForScripting 的类必须对 COM 可见。请确认该对象是公共的,或考虑向您的类添加 ComVisible 属性。 程序出现异常"尝试读取或写入受保护的内存这通常指示其他内存已损坏" 编码原则十日谈 UML中几种类间关系:继承、实现、依赖、关联、聚合、组合的联系与区别 Is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) 根据进程名称或者服务名称用WMI获取执行路径和参数 设计器加载程序未提供根组件,但没有指出原因 Web 无法启动调试疑难解析(待续) 检测到 ContextSwitchDeadlock 找不到可安装的 ISAM 之 C#读取VFP数据 .Net Remoting 入门教程-原理&&Hello 阴沟里翻船,浪费一个小时时间 一个肥皂泡的破灭(组图) 每周工作计划公布栏(2009.10.26-2009.10.31) SQL Server2005 常见错误及解决方案 一道算法引发的思考:编程之外,我们还要关注什么
System.InvalidOperationException: 缓冲操作当前正在进行中...
winzheng · 2009-06-22 · via 博客园 - winzheng

System.InvalidOperationException: 缓冲操作当前正在进行中,无法释放 BufferedGraphicsContext。

环境:VS 2005,FX 2.0,XP

在查找内存泄漏时,蹦出此错误,正在找原因。

哪位同仁如果能提供线索,多谢了。

系统异常:
System.InvalidOperationException: 缓冲操作当前正在进行中,无法释放 BufferedGraphicsContext。
   在 System.Drawing.BufferedGraphicsContext.Dispose(Boolean disposing)
   在 System.Drawing.BufferedGraphicsContext.Dispose()
   在 System.Drawing.BufferedGraphicsContext.AllocBufferInTempManager(Graphics targetGraphics, IntPtr targetDC, Rectangle targetRectangle)
   在 System.Drawing.BufferedGraphicsContext.Allocate(IntPtr targetDC, Rectangle targetRectangle)
   在 System.Windows.Forms.Control.WmPaint(Message& m)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 System.Windows.Forms.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)