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

推荐订阅源

IT之家
IT之家
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
A
About on SuperTechFans
博客园 - 聂微东
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
B
Blog RSS Feed
U
Unit 42
Stack Overflow Blog
Stack Overflow Blog
Recent Announcements
Recent Announcements
雷峰网
雷峰网
罗磊的独立博客
Microsoft Security Blog
Microsoft Security Blog
Hugging Face - Blog
Hugging Face - Blog
L
LangChain Blog
人人都是产品经理
人人都是产品经理
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Help Net Security
P
Proofpoint News Feed
The Cloudflare Blog
D
Docker
大猫的无限游戏
大猫的无限游戏

博客园 - 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)