Canvas: Out of system resources
2016-05-18 11:12
330 查看
原文链接:https://www.geek-share.com/detail/2674541121.html
一个手写板的项目
在线程中操作Canvas画用户的笔记, 画不了几笔就卡住不画了, 然后保存到另外的image时
提示“Out of system Resource”错误, 百思不得姐
中间考虑是不是因为image图片宽度的问题, 就重新新建了一个bitmap, 然并卵.
搜索一圈下来, 居然是Canvas锁定的问题.
try
Canvas.lock;
try
程序段
except
Canvas.unlock;
end;
finally
Canvas.unlock;
end;
就这, 记录一下{};
转载于:https://www.cnblogs.com/doorsky/p/5504495.html
相关文章推荐
- Canvas: Out of system resources
- 关于对TBitmap的Canvas操作发生Out of system Resource异常
- TBitMap Canvas导致Out of System resource异常
- OutOfMemoryError: Cannot create GC thread. Out of system resources
- RHEL 6.2 Error: Cannot create GC thread. Out of system resources.
- 项目中遇到System.StackOverflowException和System.OutOfMemoryException
- 解决'System.OutOfMemoryException' 的问题
- 解决eclipse中出现Resource is out of sync with the file system问题
- publishing failed with multiple errors resource is out of sync with the file system
- System.OutOfMemoryException: 内存不足。
- Resource is out of sync with the file system 解决方案
- 解决eclipse中出现Resource is out of sync with the file system问题
- Resource is out of sync with the file system 解决方案
- MyEclipse Resource is out of sync with the file system
- .Net内存溢出 System.OutOfMemoryException
- iis应用程序池 内存溢出错误 System.OutOfMemoryException
- 解决eclipse中出现Resource is out of sync with the file system问题
- Resource is out of sync with the file system: 解决办法。
- Out of resources when opening file 错误解决
- Resource is out of sync with the file system的解决办法