2010年6月22日
摘要: Modern Programming with C++0x in Microsoft Visual C++ 2010http://www.msteched.com/2010/NorthAmerica/DEV316<object class="player" width="645" height="365" type="application/x-silverlight-2" data="da... 阅读全文
posted @ 2010-06-22 15:36 xiaxi 阅读(210) 评论(0) 推荐(0) 编辑
  2010年1月8日
摘要: Configuring Visual Studio to Debug .NET Framework Source Codehttp://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx 阅读全文
posted @ 2010-01-08 10:03 xiaxi 阅读(162) 评论(0) 推荐(0) 编辑
  2009年11月25日
摘要: COM can be accessed in NET through the NET Interop, just like normal managed class. But there are also some differences between the managed objects and COM class. In this article we'll discuss about t... 阅读全文
posted @ 2009-11-25 22:32 xiaxi 阅读(216) 评论(0) 推荐(0) 编辑
  2009年11月23日
摘要: From below link: Creating a COM object in .Net based on its ProgID /// <summary>/// Creates a COM object given it's ProgID./// </summary>/// <param name="sProgID">The ProgID to c... 阅读全文
posted @ 2009-11-23 15:51 xiaxi 阅读(265) 评论(0) 推荐(0) 编辑
  2009年11月5日
摘要: 我们在调试dump文件的时候,如果出现mscorwks版本不一致的情况,可以参考下面这个discussion,已经试过,可以workFailed to load mscorwks.dll when debug a minidump because of the different subversion of mscorwks.dll Posted by Microsoft on 10/21/200... 阅读全文
posted @ 2009-11-05 09:51 xiaxi 阅读(2478) 评论(0) 推荐(0) 编辑
  2008年12月24日
摘要: 以.txt文件为例 用regedit.exe打开注册表 到HKEY_CLASSES_ROOT主键 它下面有一长串的".*"的键值 找到.txt 它有默认值为"txtfile" 再在HKEY_CLASSES_ROOT下面搜索名为"txtfile"的主键 找到了 它有子键"DefaultIcon" 默认值为"%Syst... 阅读全文
posted @ 2008-12-24 16:04 xiaxi 阅读(2656) 评论(0) 推荐(0) 编辑
  2008年12月23日
摘要: 1 转到定义: F12; 2 设置书签:Ctr+K+K; 3 设置任务: //TODO:something,查看任务Ctrl+W+T; 4 查找:Ctrl+ F, Ctrl+Shift+F; 5 强迫智能感知:Ctrl+J; 6 强迫智能感知显示参数信息:Ctrl-Shift-空格; 7 格式化整个块:Ctrl+K+F; 8 全屏幕:Alt+Shift+Enter; 9 设置书签:... 阅读全文
posted @ 2008-12-23 10:45 xiaxi 阅读(411) 评论(0) 推荐(0) 编辑
摘要: Posted in the CodeProject, if you are interested. http://www.codeproject.com/KB/cpp/MemoryLeak.aspx 阅读全文
posted @ 2008-12-23 10:08 xiaxi 阅读(348) 评论(0) 推荐(0) 编辑
  2008年10月30日
摘要: 阅读全文
posted @ 2008-10-30 22:16 xiaxi 阅读(241) 评论(0) 推荐(0) 编辑
  2008年6月23日
摘要: 一、使用断言Assertion的几个原则 1.Use Assertion to Check a Single Item At a Time. 每次只检查一个条目。 我们使用断言,就是希望能够将错误暴露出来。如果在一个断言里同时检查多个条目,这样在出错的时候,你无法知道究竟是哪个条目出错了。 看看下面的代码 Code highlighting produced by Actipro Co... 阅读全文
posted @ 2008-06-23 21:51 xiaxi 阅读(422) 评论(0) 推荐(0) 编辑