![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Trouble Shooting
honker110
这个作者很懒,什么都没留下…
展开
-
QML中删除子组件的注意事项
You can't remove individual items. According to thedocs:Note that objects cannot be individually added to or removed from the list once created; to modify the contents of a list, it must be reassigned to a new list.来源:https://stackoverflow.com/quest..原创 2021-07-09 14:55:47 · 465 阅读 · 0 评论 -
”此版本的 SQL Server 不支持用户实例登录标志。该连接将关闭“的解决
错误提示:说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.Data.SqlClient.SqlException: 此版本的 SQL Server 不支持用户实例登录标志。该连接将关闭。原因: User Instance=True" providerName="System原创 2009-07-23 08:49:00 · 1252 阅读 · 0 评论 -
Enterprise Library Logging App Block的时区问题
LAB记录的日志里timestamp总是UTC时间,很是郁闷,只能把里面的DateTime.UtcNow改成DateTime.Now,再编译引用。 今天偶然看见http://blogs.msdn.com/tomholl/archive/2006/01/22/516055.aspx讲到可以修改TimeStampToken 的FormatToken方法:/// /// Formats原创 2009-07-27 16:51:00 · 855 阅读 · 0 评论 -
a中嵌套div的问题
一般情况下,如果我们在网页中加入以下代码: visual studio会告诉我们 Element div cannot be nested within element a.但在各浏览器中,这段代码可以正常执行,不会出什么问题。但如果把a标签的内容改成: 这是用原创 2009-08-04 17:48:00 · 8221 阅读 · 0 评论 -
VC2005打开VC2003项目时fatal error CVT1100: 重复的资源。type:MANIFEST
<br />一个错误的提示为:<br />CVTRES : fatal error CVT1100: 重复的资源。type:MANIFEST, name:1, language:0x0409<br />另一个则提示为:<br />LINK : fatal error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏<br /> <br />出现这两个问题的原因都是一个,即文件中的现有资源文件和新资源字符串表 ID 冲突。<br /> <br />解决方案:<br />.rc中注释掉:CREAT原创 2011-04-08 18:08:00 · 1595 阅读 · 0 评论 -
CTabCtrl或者CPropertySheetImpl的问题
在用一个Dialog中用CTabCtrl或者CPropertySheetImpl显示多个页面时,如果弹出模态对话框,DoModal时会无响应。CTabCtrl用的是http://www.google.cn/codesearch#search&q=CTabCtrlexPropert原创 2011-07-21 17:30:45 · 1018 阅读 · 0 评论 -
WTL对话框中唯一文本框开始全选问题
当一个窗体上只有一个文本框的时候,窗体显示的时候,文本框中的文字默认是被全部选中的用我自己的继承自CEdit的类来设置SetSel没有效果,只好发消息 : LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam,原创 2011-07-21 17:37:25 · 855 阅读 · 0 评论 -
使用_CRTDBG_MAP_ALLOC宏与_malloca/_freea不兼容
环境:VC2005 + WTL 8.1 为了定位内存漏洞,在头文件中包含了crtdbg.h, #if defined(_DEBUG)#define _CRTDBG_MAP_ALLOC#include #include #endif // defined(_DEBUG)结果造成创建包含有ActiveX的窗口时报错,问题来自于~CAutoStackPtr这原创 2011-12-01 15:36:24 · 2563 阅读 · 1 评论