摘要: Let’s assume there is buggy code in PowerSI. BOOL CTDXFApp::InitInstance() { double dVal=((_complex*)0)->x; …… } PowerSI crash when it is launched. Th 阅读全文
posted @ 2017-09-18 09:58 飞在风口的猪 阅读(107) 评论(0) 推荐(0) 编辑
摘要: Today, I fix one ccr of wording change. One solution I chose is to use macro to replace the string. Like this one, #define REPLCE_STRING _T("coding") 阅读全文
posted @ 2016-08-15 21:40 飞在风口的猪 阅读(203) 评论(0) 推荐(0) 编辑
摘要: https://msdn.microsoft.com/en-us/library/windows/desktop/bb773568(v=vs.85).aspx Remarks Expanding a node that is already expanded is considered a succ 阅读全文
posted @ 2016-08-09 11:30 飞在风口的猪 阅读(224) 评论(0) 推荐(0) 编辑
摘要: https://msdn.microsoft.com/en-us/library/eeah46xd.aspx 转自: //http://blog.csdn.net/zhuce0001/article/details/9152515. 在基于对话框的程序中,有一个任务是改变编辑框控件的背景,怎么办? 阅读全文
posted @ 2016-08-09 11:23 飞在风口的猪 阅读(364) 评论(0) 推荐(0) 编辑
摘要: Linker:http://blog.csdn.net/ztz0223/article/details/7614091Hyperlink before introduce the basical ODBCbetween VS2008 C++ project and Mysql datasource.... 阅读全文
posted @ 2016-01-22 16:57 飞在风口的猪 阅读(240) 评论(0) 推荐(0) 编辑
摘要: Hi All,After I investigated ccr below, I found an rounding issue. The issue is that we can get different resultbetween Linux and Windows platform when... 阅读全文
posted @ 2015-11-05 17:25 飞在风口的猪 阅读(304) 评论(0) 推荐(0) 编辑
摘要: refer to: https://msdn.microsoft.com/en-us/library/hh598953.aspx 阅读全文
posted @ 2015-09-29 17:21 飞在风口的猪 阅读(273) 评论(0) 推荐(0) 编辑
摘要: refer to http://www.cnblogs.com/coderzh/archive/2009/04/06/1426755.htmlMFC + GTesthttp://m.blog.csdn.net/blog/wulong710/5909928http://blog.csdn.net/zh... 阅读全文
posted @ 2015-09-29 16:51 飞在风口的猪 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 调试符号.1.1 C 的调试符号case1. 使用C调用协议(__cdecl)的函数,在函数名称前加一下划线,不考虑参数和返回值.eg.case2.使用快速调用协议(__fastcall)的函数,在函数名称前后各加@符号,后跟参数的长度, 不考虑返回值.eg. extern "C" int__fas... 阅读全文
posted @ 2015-09-22 12:06 飞在风口的猪 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 任何不会修改数据成员的函数都应该声明为const类型。如果在编写const成员函数时,不慎修改了数据成员,或者调用了其它非const成员函数,编译器将指出错误,这无疑会提高程序的健壮性。以下程序中,类stack的成员函数GetCount仅用于计数,从逻辑上讲GetCount应当为const函数。编译... 阅读全文
posted @ 2015-08-13 12:05 飞在风口的猪 阅读(96) 评论(0) 推荐(0) 编辑