上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 19 下一页
摘要: A few days ago, I've been facing a strange behavior with Visual Studio 2013. No matter what solution I was opening, Visual Studio kept switching the source control plugin to Git. I was sure all my... 阅读全文
posted @ 2016-10-26 10:23 今夜太冷 阅读(196) 评论(0) 推荐(0) 编辑
摘要: A few days ago, I've been facing a strange behavior with Visual Studio 2013. No matter what solution I was opening, Visual Studio kept switching the source control plugin to Git. I was sure all my sol... 阅读全文
posted @ 2016-10-26 10:20 今夜太冷 阅读(246) 评论(0) 推荐(0) 编辑
摘要: MFC对话框中使用CHtmlEditCtrl 感谢原帖作者: http://blog.csdn.net/tingya/article/details/2028172 我在VS2008校正了一些代码。 最近由于项目需要,需要在对话框中使用CHtmlEditCtrl控件,网上大部分的代码都是直接使用CHtmlEditView的,很少有CHtmlEditCtrl在对话框中使用的示例。网上有一个《动... 阅读全文
posted @ 2016-10-21 23:14 今夜太冷 阅读(768) 评论(0) 推荐(0) 编辑
摘要: ATL开发 ActiveX控件的 inf文件模板 阅读全文
posted @ 2016-10-20 10:13 今夜太冷 阅读(354) 评论(0) 推荐(0) 编辑
摘要: ActiveX: 如何用.inf和.ocx文件生成cab文件 阅读全文
posted @ 2016-10-19 17:04 今夜太冷 阅读(528) 评论(0) 推荐(0) 编辑
摘要: XSLT Variable Arrays I recently answered a question on a popular programmers forum about how to store and access an array of user-defined variables in a stylesheet and then loop though those variables... 阅读全文
posted @ 2016-10-11 14:41 今夜太冷 阅读(750) 评论(0) 推荐(0) 编辑
摘要: 如何分隔两个base64字符串? 用逗号或者任意的不在base64字符串内的字符都可以。 All you have to do is to use a separator which is not a valid Basc64 character.Commais not a base64 character so you can use. Base64 characters are[... 阅读全文
posted @ 2016-10-09 13:44 今夜太冷 阅读(828) 评论(0) 推荐(0) 编辑
摘要: 用.net调用一个C++ 32位的DLL, 编译的时候选择x86, 在部署到一个64位的机器上的时候报错:"An attempt was made to load a program with an incorrect format" 解决方法: 在出错的机器上,用VS命令行工具定位到.net exe所在的目录,然后运行 corflags /32Bit+ 参考文章如下: Tip ... 阅读全文
posted @ 2016-10-08 11:28 今夜太冷 阅读(1398) 评论(0) 推荐(0) 编辑
摘要: JQuery 公网 CDN 阅读全文
posted @ 2016-09-30 10:49 今夜太冷 阅读(1320) 评论(0) 推荐(0) 编辑
摘要: Javascript调用ActiveX示例 写一个ActiveX控件比如叫做MyNameSpace.SecreteInfo,安装在客户机器上,这样可以通过c++获取到机器的几乎任何信息。 在网页上用Javascript调用ActiveX,就可以获取到ActiveX返回的信息。 阅读全文
posted @ 2016-09-30 10:09 今夜太冷 阅读(6354) 评论(0) 推荐(0) 编辑
摘要: 自动化(Automation)兼容的数据类型 阅读全文
posted @ 2016-09-29 16:21 今夜太冷 阅读(450) 评论(0) 推荐(0) 编辑
摘要: Windows 7 下如何设置机器级别的DCOM权限 To grant Remote Activation permissions to the SMS Admins group From theStartmenu, clickRunand typeDcomcnfg.exe. InComponent Services, clickConsole root, expandCompo... 阅读全文
posted @ 2016-09-28 14:54 今夜太冷 阅读(934) 评论(0) 推荐(0) 编辑
摘要: 关于DCOM的安全性 DCOM的安全性设置在注册表中。 2. 通过DCOMCNF.exe可以配置 阅读全文
posted @ 2016-09-27 17:37 今夜太冷 阅读(420) 评论(0) 推荐(0) 编辑
摘要: DCOM中的APPID的用处,以及RemoteServerName的传递问题 阅读全文
posted @ 2016-09-26 11:07 今夜太冷 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 插入中文就报错: Incorrectstringvalue:'\xE7\x8F\xBD\xE7\x8F\xBA'forcolumn'name'atrow1 用set names utf8或者 gb2312有时可以插入,但是是乱码,怎么回事? 【解决方法】 这是因为在创建数据库的时候编码选择的不对,用utf8编码重新创建数据库。 然后在执行查询的时候首先设置编码格式。 SET... 阅读全文
posted @ 2016-09-23 22:22 今夜太冷 阅读(20578) 评论(0) 推荐(0) 编辑
摘要: Create site. Upload rdl files into Dashboards lib. Manage Data source. Select the rdl file and click … Data sources defined in the rdl file should be listed here. Click the data source... 阅读全文
posted @ 2016-09-22 11:41 今夜太冷 阅读(253) 评论(0) 推荐(0) 编辑
摘要: Introduction In this How-To I will change my port from 80 to 79, probably because I want to host something else on port 80 not using IIS.The way you setup this is in SharePoint it's to extend your A... 阅读全文
posted @ 2016-09-22 10:46 今夜太冷 阅读(221) 评论(0) 推荐(0) 编辑
摘要: VS2008中建立了一个DLL项目,使用了一段时间后,在其中一个类中添加了一个方法,然后编译后,拷贝了新的.h文件到使用DLL的项目中,并且.dll和.lib也拷贝到了需要的位置,但是在目标项目中智能提示却无法找到新建的方法。怎么回事那? 【解决方法】 关掉VS2008,然后重新打开项目,智能提示就能找到新建的方法了。 阅读全文
posted @ 2016-09-21 21:23 今夜太冷 阅读(1467) 评论(0) 推荐(0) 编辑
摘要: 自己用c#创建的windows service, 安装后,执行installutil /u 状态变成disable,却删除不了。删除的时候提示"The specified service has been marked for deletion." 怎么回事? 【解决方法】 关掉Services面板,重新打开就可以了。 阅读全文
posted @ 2016-09-20 15:06 今夜太冷 阅读(1313) 评论(0) 推荐(0) 编辑
摘要: vc6.0编译通过,VS2008则报错 解决方法: 把CException改为CUserException 阅读全文
posted @ 2016-08-26 11:43 今夜太冷 阅读(1524) 评论(0) 推荐(0) 编辑
摘要: Windows的拖放操作使用方法 阅读全文
posted @ 2016-08-19 16:30 今夜太冷 阅读(362) 评论(0) 推荐(0) 编辑
摘要: Base.h #pragma once class Base { public: Base(void); ~Base(void); bool CreatClone(Base* item); char* m_baseprop1; }; Base.cpp #include "StdAfx.h" #include ... 阅读全文
posted @ 2016-08-19 09:59 今夜太冷 阅读(5831) 评论(0) 推荐(0) 编辑
摘要: MFC提供了BeginWaitCursor和EndWaitCursor函数来显示和隐藏等待的图标,以下是例子。 void CMainView::OnEditClone() { BeginWaitCursor(); //Other logic. EndWaitCursor(); } 阅读全文
posted @ 2016-08-17 17:08 今夜太冷 阅读(1334) 评论(0) 推荐(0) 编辑
摘要: 在微软给的例子OClient中,有选中一个OLE对象然后Change Source的功能,但是会报错。分析了一下是这样的: void CMainView::OnOleChangeSource() { ASSERT(m_pSelection != NULL && m_pSelection->GetType() == OT_LINK); COleChangeSourceDial... 阅读全文
posted @ 2016-08-17 16:38 今夜太冷 阅读(447) 评论(0) 推荐(0) 编辑
摘要: c++编译的时候出现如下的错误: no 'object' file generated 【解决方法】 Go to project properties -> configurations properties -> C/C++ -> treats warning as error -> No (/WX-). 阅读全文
posted @ 2016-08-17 14:14 今夜太冷 阅读(1593) 评论(0) 推荐(0) 编辑
摘要: IOleItemContainer的接口定义 阅读全文
posted @ 2016-08-12 17:32 今夜太冷 阅读(165) 评论(0) 推荐(0) 编辑
摘要: IBindCtx接口定义 阅读全文
posted @ 2016-08-12 16:16 今夜太冷 阅读(575) 评论(0) 推荐(0) 编辑
摘要: IRunningObjectTable接口 阅读全文
posted @ 2016-08-12 15:38 今夜太冷 阅读(816) 评论(0) 推荐(0) 编辑
摘要: IMoniker接口的MKParseDisplayName和 GetDisplayName的注意事项 阅读全文
posted @ 2016-08-12 15:17 今夜太冷 阅读(1062) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-08-12 14:48 今夜太冷 阅读(343) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 19 下一页