随笔分类 -  疑问解析

求助,讨论专区^_^
摘要: “尝试读取或写入受保护的内存这通常指示其他内存已损坏"。System.AccessViolationException: Attempted to read or write protected memory.This is often an indication that other memory is corrupt. 此类错误屡见不鲜了,特别是图像开发,Com组件操作时,不要期望本文能够给你一个明确的答复,只能给你提供解决问题的思路: 解决办法只有一种:慧眼视真或排除法,先看看排除的优先级吧 阅读全文
posted @ 2009-08-11 12:53 winzheng 阅读(19730) 评论(6) 推荐(6)
摘要: Is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) 阅读全文
posted @ 2009-08-02 23:50 winzheng 阅读(1866) 评论(0) 推荐(1)
摘要: 引发类型为“System.ComponentModel.Design.ExceptionCollection”的异常:设计器加载程序未提供根组件,但没有指出原因。 阅读全文
posted @ 2009-07-24 10:36 winzheng 阅读(5679) 评论(1) 推荐(0)
摘要: 检测到 ContextSwitchDeadlock 阅读全文
posted @ 2009-07-16 20:56 winzheng 阅读(2943) 评论(2) 推荐(2)
摘要: C#读取VFP文件时遇到的“找不到可安装的 ISAM”,小的疏忽会导致大的损失,需要加强代码管理。 阅读全文
posted @ 2009-07-12 00:18 winzheng 阅读(1606) 评论(0) 推荐(1)
摘要: System.InvalidOperationException: 缓冲操作当前正在进行中,无法释放 BufferedGraphicsContext。 阅读全文
posted @ 2009-06-22 10:09 winzheng 阅读(2160) 评论(2) 推荐(0)
摘要: 今天安装了MobilePro 6 发现模版丢失了,其他项目无法进行,现提供解决办法。 阅读全文
posted @ 2009-06-18 13:11 winzheng 阅读(769) 评论(1) 推荐(1)
摘要: 当前线程不在单线程单元中,因此无法实例化 ActiveX 控件解决办法 阅读全文
posted @ 2009-05-11 17:57 winzheng 阅读(12131) 评论(1) 推荐(1)
摘要: 项目莫明其妙无法编译,运行时报告:Could not write to output file '.exe' , 'Could not execute CVTRES.EXE.' 解决办法. 阅读全文
posted @ 2009-03-16 13:13 winzheng 阅读(2781) 评论(0) 推荐(0)
摘要: 系统升级后,iertutil.dll丢失桌面无法显示的问题 . 阅读全文
posted @ 2009-03-13 13:34 winzheng 阅读(7579) 评论(2) 推荐(3)
摘要: G.DrawString 我的换行方式: 源自"博问",GDI+ 中如何DrawString多行文本? 我的实现方式,用数组,然后坐标定位. 阅读全文
posted @ 2009-03-05 16:39 winzheng 阅读(5979) 评论(3) 推荐(0)
摘要: 源于"博问"上的一篇帖子,很多时候我们的控件需要限定字符输入的MaxLength,但是遇到中英文混合的情况,对于长度的判定就有点复杂,现提供TextBoxBase继承控件的通用方法. 阅读全文
posted @ 2009-03-04 09:35 winzheng 阅读(1351) 评论(10) 推荐(1)
摘要: 今天同事的项目在Debug时遇到一个问题,添加断点,提示:断点在当前文本无效,给调试同昨带来一个问题,经研究发现,这个与Debug的模式有关。 阅读全文
posted @ 2009-02-12 12:18 winzheng 阅读(2621) 评论(5) 推荐(1)
摘要: IBatisNet 遇到 DateTime 类型,显的不是那么灵活,测试软件过程中总出现日期方面的查询不准确的情况,总结一下日期方面的一下技巧。 阅读全文
posted @ 2009-01-20 18:06 winzheng 阅读(740) 评论(0) 推荐(0)
摘要: A Graphics object cannot be created from an image that has an indexed pixel format 阅读全文
posted @ 2008-12-23 12:54 winzheng 阅读(702) 评论(0) 推荐(0)
摘要: GDI+ 一般性错误.Bitmap 对象或一个 图像 对象从一个文件, 构造时该文件仍保留锁定对于对象的生存期。 因此, 无法更改图像并将其保存回它产生相同的文件。 阅读全文
posted @ 2008-12-23 12:49 winzheng 阅读(2535) 评论(0) 推荐(0)
摘要: 正试图在 os 加载程序锁内执行托管代码。不要尝试在 DllMain 或映像初始化函数内运行托管代码,这样做会导致应用程序挂起 阅读全文
posted @ 2008-12-05 16:38 winzheng 阅读(3429) 评论(0) 推荐(0)
摘要:  在可以调用 OLE 之前,必须将当前线程设置为单线程单元(STA)模式。请确保您的 Main 函数带有 STAThreadAttribute 标记。 只有将调试器附加到该进程才会引发此异常。 阅读全文
posted @ 2008-12-02 12:17 winzheng 阅读(7377) 评论(1) 推荐(2)
摘要: Asp.net 2.0 中cookie值为中文时导致的Cookie 值丢失问题和乱码问题的解决 阅读全文
posted @ 2008-10-15 11:51 winzheng 阅读(870) 评论(1) 推荐(0)
摘要: WebConfig 加解密问题:未能使用提供程序“RsaProtectedConfigurationProvider”进行解密。提供程序返回错误消息为: 打不开 RSA 密钥容器。 阅读全文
posted @ 2008-09-27 17:44 winzheng 阅读(1663) 评论(3) 推荐(0)