佚名通过本文主要向大家介绍了mfc webbrowser,mfc webbrowser控件,c webbrowser使用,webbrowser控件使用,wpf webbrowser使用等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: MFC中使用webbrowser问题
描述:
描述:
插入webbrowser控件后,声明一个WebBrowser2对象 m_browser, 然后在调用m_browser.create 时
在
BOOL CWnd::InitControlContainer(BOOL bCreateFromResource)
{
if (m_pCtrlCont == NULL)
{
BOOL bSuccess;
bSuccess = CreateControlContainer( &m_pCtrlCont );
if (bSuccess && (m_pCtrlCont == NULL))
{
// The window wants to use the default control container.
TRY
{
m_pCtrlCont = afxOccManager->CreateContainer(this);
}
END_TRY
}
的TRY语句发生了错误, 为什么啊....