安装QT的时候出现PATH_MAX错误
摘要:运行c:\qt\4.5.0的configure文件的时候,出现如下的错误提示: ....\corelib\io\qfsfileengine_win.cpp(1012) : error C2065: 'PATH_MAX' : undeclared identifier 【解决方法】 参考了这篇文章: http://m.dlxedu.com/m/askdetail/3/7a531f5691e34...
阅读全文
posted @
2017-05-26 17:03
今夜太冷
阅读(520)
推荐(0) 编辑
正则表达式:将图片的相对网址补全。
摘要:Q: I have an image tag with a src and I want to prepend a website url onto the src but only if it doesn't start with http://. so far I have content.replace(/(<img *src=")(.*?)"/, '$1' + this.websiteUr...
阅读全文
posted @
2017-05-26 11:23
今夜太冷
阅读(748)
推荐(0) 编辑
SharePoint中Rating相关的字段。
摘要:From: https://sharepoint.stackexchange.com/questions/194197/how-to-manipulate-likeby-nooflikes-ratedby-averagerating-userrating-using-cs Copy below: Gone through the problem an got the relevant ...
阅读全文
posted @
2017-05-25 11:44
今夜太冷
阅读(331)
推荐(0) 编辑
调试工具DebugView
摘要:可以用来跟踪如下函数的输出: Win32 OutputDebugString Kernel-mode DbgPrint All kernel-mode variants of DbgPrint implemented in Windows XP and Server 2003 详情和下载: https://technet.microsoft.com/en-us/sysinternals/d...
阅读全文
posted @
2017-05-23 14:06
今夜太冷
阅读(448)
推荐(0) 编辑
MFC中调用web api
摘要:使用COM组件来调用,需要catch com error. IXMLHTTPRequestPtr pIXMLHTTPRequest = NULL; BSTR bstrString = NULL; HRESULT hr; try { hr=pIXMLHTTPRequest.CreateInstance("Msxml2.XMLHTTP.6.0"); ...
阅读全文
posted @
2017-05-23 10:29
今夜太冷
阅读(1887)
推荐(0) 编辑
为什么有的需要安全连接的的application只有开Fiddler才好用?
摘要:Help! Running Fiddler Fixes My App??? Over the years, the most interesting class of support requests for Fiddler are of the form: "My application or website is failing, but when I try to capture a r...
阅读全文
posted @
2017-05-08 16:53
今夜太冷
阅读(1035)
推荐(0) 编辑