void CLocationDlg::OnShow()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CWebPage web;
web.SetDocument(m_myweb.get_Document());
const CString funcName(_T("justmarkfun"));
CComVariant varResult;
web.CallJScript(funcName, m_JD, m_WD, &varResult);
}
其中m_myweb为CWebBrowser2变量
是按照 http://www.tuicool.com/articles/y6RzIv3 方法做的 但是出现报错 求大神帮忙
