大约有 44,000 项符合查询结果(耗时:0.0391秒) [XML]
CDHtmlDialog的基本使用(C++调用JS函数的实现) - C/C++ - 清泛网移动版 -...
...c = NULL;
CDHtmlDialog::GetDHtmlDocument(&pDoc);
DISPPARAMS param = {0};
VARIANT vtRet;
CallJSFunction(pDoc, _T("CppCallJsFunc"), param, &vtRet, NULL, NULL);
}
HRESULT CJSCppInteractiveDlg::CallJSFunction(IHTMLDocument2* pDoc2,
CString strFunctionName,
DISPPARAMS di...
CDHtmlDialog的基本使用(C++调用JS函数的实现) - C/C++ - 清泛网 - 专注IT技能提升
...c = NULL;
CDHtmlDialog::GetDHtmlDocument(&pDoc);
DISPPARAMS param = {0};
VARIANT vtRet;
CallJSFunction(pDoc, _T("CppCallJsFunc"), param, &vtRet, NULL, NULL);
}
HRESULT CJSCppInteractiveDlg::CallJSFunction(IHTMLDocument2* pDoc2,
CString strFunctionName,
DISPPARAMS di...
ATL CComPtr和CComQIPtr详解 - C/C++ - 清泛网移动版 - 专注IT技能提升
......;
CComPtr<IBar> pBar;
HRESULT hr = pFoo.QueryInterface(&pBar);
(10) IsEqualObject方法
IsEqualObject方法用来判断两个接口指针释放引用的是同一个对象。
(11) != 和 == 操作符
跟普通的 一样
(12) CComPtr对IDispatch的特化
CComPtr<IDispatch> iptr;
...
ATL CComPtr和CComQIPtr详解 - C/C++ - 清泛网 - 专注IT技能提升
......;
CComPtr<IBar> pBar;
HRESULT hr = pFoo.QueryInterface(&pBar);
(10) IsEqualObject方法
IsEqualObject方法用来判断两个接口指针释放引用的是同一个对象。
(11) != 和 == 操作符
跟普通的 一样
(12) CComPtr对IDispatch的特化
CComPtr<IDispatch> iptr;
...
stdbool.h C99标准杂谈 - c++1y / stl - 清泛IT社区,为创新赋能!
...了四个用于布尔型的预定义宏:
#define true 1
#define false 0
#define bool _Bool
typdef int _Bool
但是很遗憾,Visual C++不支持C99,至少现在来看是没这个计划(参见http://en.wikipedia.org/wiki/C99)。所以stdbool.h就不能在vc里面用:
http://msdn.micros...
C++在堆上申请二维数组 - C/C++ - 清泛IT论坛,有思想、有深度
...间不能连续且需要多个指针才能管理
double *d[m];
for (int i=0; i<m; i++)
d = new double[n];复制代码
解决:Successful WSAStartup not yet performed. Error code : 10093. - c...
出现10093错误的原因是应用程序没有调用 WSAStartup,或者 WSAStartup 失败。
原因:调用WSASocket等Socket函数之前必须先执行WSAStartup()初始化。
解决方法:
BOOL CxxxApp::InitInstance()
{
WSADATA wsaData;
&...
mfc spin control 用法 - C++ UI - 清泛IT社区,为创新赋能!
...nbsp; }
*pResult = 0;
}
简便的方法可以在资源文件中设置Spin的属性,实现控制Edit控件数字的增减,详见:http://bbs.tsingfun.com/thread-762-1-1.html。
常用Sql - 爬虫/数据库 - 清泛IT社区,为创新赋能!
本帖最后由 zqp2013 于 2015-3-17 22:06 编辑
mysql:drop table if exists tablename;
不能写成
drop table tablename if exists tablename;
mysql:建立索引Sql
CREATE TABLE tablename (
`ID` &nbs...
Mysql substr和Oracle substr区别 - 爬虫/数据库 - 清泛IT社区,为创新赋能!
Oracle substr(字符串,开始索引、从0起,长度)
Mysql substr或substring(字符串,开始索引、从1起,长度)
