上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 21 下一页
摘要: 1、以View Code方式打开.rc文件。2、删除其中包含SS_REALSIZECONTROL定义的内容。3、在资源编辑器中打开.rc文件,重新设置Real Size Control的属性(不能在代码编辑器里重新添加SS_REALSIZECONTROL,否则问题会重现)。 阅读全文
posted @ 2014-05-30 11:11 junchu25 阅读(6495) 评论(0) 推荐(0) 编辑
摘要: XmlSerializer的两个构造函数不会出现每次构造都创建TempAssembly的性能问题,其内部做了缓存。public XmlSerializer(Type type)public XmlSerializer(Type type, string defaultNamespace) 阅读全文
posted @ 2014-05-30 09:16 junchu25 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 两个项目libevent、memcached,Platform Toolset使用Visual Studio 2013 - Windows XP (v120_xp)。在编译memcached时会提示"inet_pton redefinition"。打开项目下的win32.h,将inet_pton函数... 阅读全文
posted @ 2014-05-13 16:12 junchu25 阅读(762) 评论(0) 推荐(0) 编辑
摘要: 当前文档可能是Mail Merge Letter type document,MAILINGS -> Start Mail Merge -> Normal Word Document保存即可。 阅读全文
posted @ 2014-04-23 22:08 junchu25 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 1、创建一个Visual C++的Empty Project,如果需要支持Windows XP将Platform Toolset设置为Visual Studio 2013 - Windows XP (v120_xp)。2、Configuration Type设置为Dynamic Library (.... 阅读全文
posted @ 2014-03-26 18:23 junchu25 阅读(4316) 评论(0) 推荐(0) 编辑
摘要: Windows Server 2012 + Hyper-V调试Windows XP SP3 32-bit虚拟机。1、Hyper-V选中虚拟机,设置COM port,Named pipe定义一个名字。例如:com_1。2、访问虚拟机,cmd输入msconfig修改boot.ini。高级选项(设置需要一一对应):1)/DEBUG2)/DEBUGPORT=COM13)/BAUDRATE=1152003、重启虚拟机,并打开Debugging Host的WinDbg。选择Kernel Debugging,在COM选项卡输入对应参数,开始进行调试。 阅读全文
posted @ 2014-03-25 18:28 junchu25 阅读(578) 评论(0) 推荐(0) 编辑
摘要: Debugging Target:Windows XP SP3 32-bitDebugging Host:Windows Server 2012 64-bit当附加到目标服务器某个进程后,WinDbg x86(6.11.1.404)提示:unable to initialize target machine information win32 error 0n87这是一个旧版本已知的bug,更新WinDbg版本即可(具体在哪一个版本修复并不清楚,我使用Windows SDK 8.0自带的6.2.9200.16384版本)。 阅读全文
posted @ 2014-03-25 15:17 junchu25 阅读(4358) 评论(0) 推荐(0) 编辑
摘要: 开发一个COM组件在Windows 7上注册成功,但是Windows XP SP3版本却导致regsvr32.exe进程挂起。用WinDbg查看发现提示:Break-in sent, waiting 30 seconds...WARNING: Break-in timed out, suspending. This is usually caused by another thread holding the loader lock竟然出现了加载锁,kb查看call stack:0:000> kbChildEBP RetAddr Args to Child ... 阅读全文
posted @ 2014-03-20 21:05 junchu25 阅读(1677) 评论(0) 推荐(0) 编辑
摘要: 网上主要提到了以下两点:1、cmd窗口输入bcdedit /debug on,重新启动计算机。2、下载对应版本Windows符号文件,并添加环境变量_NT_SYMBOL_PATH。其实根据环境不同还需要在执行bcdedit后再补充一个命令,如果没有设置localdebug transport的话。b... 阅读全文
posted @ 2014-02-25 01:51 junchu25 阅读(1018) 评论(0) 推荐(0) 编辑
摘要: 之前的一篇博客如何在Computer下添加System Folder里提到需要每次都使用一个新的guid,否则再次在"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace"下添加该键无法在Windows Explorer看到它。这个例子参考了Windows SDK部分内容,但是它不够完美无法为相应的文件夹添加一些额外的功能,且每次需要一个新的guid。下面给出一个更优化的方式:1、这个操作需要在三个注册表键下添加相同的内容:"HKEY_C 阅读全文
posted @ 2014-01-18 10:35 junchu25 阅读(882) 评论(4) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 21 下一页