大约有 4,000 项符合查询结果(耗时:0.0063秒) [XML]
使用NPAPI编写浏览器插件的源码实例(windows 7/linux) - C/C++ - 清泛网 - ...
...html
插件的功能
提供网页的javascript可以调用本机上的程序的能力。
关于源码的说明
npapi/npapi.h
npapi/npfunctions.h
npapi/npruntime.h
npapi/nptypes.h
直接来自:http://code.google.com/p/npapi-headers/
plugin_exec.c中的一些函数
char* NP_GetMIMED...
CDHtmlDialog的基本使用(C++调用JS函数的实现) - C/C++ - 清泛网 - 专注IT技能提升
...ctiveDlg::OnBnClickedButton1()
{
// TODO: 在此添加控件通知处理程序代码
IHTMLDocument2* pDoc = NULL;
CDHtmlDialog::GetDHtmlDocument(&pDoc);
DISPPARAMS param = {0};
VARIANT vtRet;
CallJSFunction(pDoc, _T("CppCallJsFunc"), param, &vtRet, NULL, NULL);
}
HRESULT CJSCppI...
手把手教你用Strace诊断问题 - 更多技术 - 清泛网 - 专注C/C++及内核技术
...us」,和我们的经验不符。Linux 操作系统有很多用来跟踪程序行为的工具,内核态的函数调用跟踪用「strace」,用户态的函数调用跟踪用「ltrace」,所以这里我们应该用「strace」:
shell> strace -p <PID>
不过如果直接用 strace 跟踪...
CDHtmlDialog的基本使用(C++调用JS函数的实现) - C/C++ - 清泛网 - 专注IT技能提升
...ctiveDlg::OnBnClickedButton1()
{
// TODO: 在此添加控件通知处理程序代码
IHTMLDocument2* pDoc = NULL;
CDHtmlDialog::GetDHtmlDocument(&pDoc);
DISPPARAMS param = {0};
VARIANT vtRet;
CallJSFunction(pDoc, _T("CppCallJsFunc"), param, &vtRet, NULL, NULL);
}
HRESULT CJSCppI...
CDHtmlDialog的基本使用(C++调用JS函数的实现) - C/C++ - 清泛网移动版 -...
...ctiveDlg::OnBnClickedButton1()
{
// TODO: 在此添加控件通知处理程序代码
IHTMLDocument2* pDoc = NULL;
CDHtmlDialog::GetDHtmlDocument(&pDoc);
DISPPARAMS param = {0};
VARIANT vtRet;
CallJSFunction(pDoc, _T("CppCallJsFunc"), param, &vtRet, NULL, NULL);
}
HRESULT CJSCppI...
CDHtmlDialog的基本使用(C++调用JS函数的实现) - C/C++ - 清泛网移动版 -...
...ctiveDlg::OnBnClickedButton1()
{
// TODO: 在此添加控件通知处理程序代码
IHTMLDocument2* pDoc = NULL;
CDHtmlDialog::GetDHtmlDocument(&pDoc);
DISPPARAMS param = {0};
VARIANT vtRet;
CallJSFunction(pDoc, _T("CppCallJsFunc"), param, &vtRet, NULL, NULL);
}
HRESULT CJSCppI...
CDHtmlDialog的基本使用(C++调用JS函数的实现) - C/C++ - 清泛网移动版 -...
...ctiveDlg::OnBnClickedButton1()
{
// TODO: 在此添加控件通知处理程序代码
IHTMLDocument2* pDoc = NULL;
CDHtmlDialog::GetDHtmlDocument(&pDoc);
DISPPARAMS param = {0};
VARIANT vtRet;
CallJSFunction(pDoc, _T("CppCallJsFunc"), param, &vtRet, NULL, NULL);
}
HRESULT CJSCppI...
CDHtmlDialog的基本使用(C++调用JS函数的实现) - C/C++ - 清泛网移动版 -...
...ctiveDlg::OnBnClickedButton1()
{
// TODO: 在此添加控件通知处理程序代码
IHTMLDocument2* pDoc = NULL;
CDHtmlDialog::GetDHtmlDocument(&pDoc);
DISPPARAMS param = {0};
VARIANT vtRet;
CallJSFunction(pDoc, _T("CppCallJsFunc"), param, &vtRet, NULL, NULL);
}
HRESULT CJSCppI...
CDHtmlDialog的基本使用(C++调用JS函数的实现) - C/C++ - 清泛网移动版 -...
...ctiveDlg::OnBnClickedButton1()
{
// TODO: 在此添加控件通知处理程序代码
IHTMLDocument2* pDoc = NULL;
CDHtmlDialog::GetDHtmlDocument(&pDoc);
DISPPARAMS param = {0};
VARIANT vtRet;
CallJSFunction(pDoc, _T("CppCallJsFunc"), param, &vtRet, NULL, NULL);
}
HRESULT CJSCppI...
CDHtmlDialog的基本使用(C++调用JS函数的实现) - C/C++ - 清泛网移动版 -...
...ctiveDlg::OnBnClickedButton1()
{
// TODO: 在此添加控件通知处理程序代码
IHTMLDocument2* pDoc = NULL;
CDHtmlDialog::GetDHtmlDocument(&pDoc);
DISPPARAMS param = {0};
VARIANT vtRet;
CallJSFunction(pDoc, _T("CppCallJsFunc"), param, &vtRet, NULL, NULL);
}
HRESULT CJSCppI...
