2014年1月27日

This application has request the Runtime to terminate it in an unusual way.

摘要: Q: CertsMV.exe gui popup two dialogs as follow.A:测试发现是分配内存导致,频繁分配内存(大约6M)可能是堆管理导致 分配大内存分配失败,程序未对 malloc 返回做检测导致后续的memset ,memcpy 脏数据,系统的异常处理抛出错误提示框(windows默认处理)错误提示堆栈 阅读全文

posted @ 2014-01-27 21:46 偏爱省略号 阅读(1155) 评论(0) 推荐(0) 编辑

How to check if Visual Studio 2005 SP1 is installed

摘要: How to check if Visual Studio 2005 SP1 is installedCheck the following registry key. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\VS\Servicing\8.0 Check if the SP value is 1.Check your Visual Studio version from the Help > About menu is set to Version 8.0.50727.762 vs2005 sp1补丁微软网站. 下载地址1为:htt... 阅读全文

posted @ 2014-01-27 21:38 偏爱省略号 阅读(319) 评论(0) 推荐(0) 编辑

SetUnhandledExceptionFilter

摘要: SetUnhandledExceptionFilter 设置未捕获异常处理通常windows程序长时间运行,会发生各种问题,例如访问异常,内存溢出,堆栈破坏等。这时候通常希望程序自己能增加处理,而不是依靠系统弹出错误提示框(灰常不友好).//For proc exception LONG WINAPI ExpFilter(struct _EXCEPTION_POINTERS *pExp) { ACE_DEBUG((LM_ERROR, "Exception code : %X, address: %x Exit!\n", pExp->ExceptionRecord-&g 阅读全文

posted @ 2014-01-27 21:18 偏爱省略号 阅读(1466) 评论(0) 推荐(0) 编辑

导航