佚名通过本文主要向大家介绍了pn/ie接口,ie接口,ie不支持此接口,ie接口错误,pc ie接口等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: 关于IE的接口问题?
描述:
描述:
定义一个 SHDocVw::IShellWindowsPtr m_spSHWinds;
初始化为 m_spSHWinds = NULL;
然后创建实例:
if (m_spSHWinds == NULL){
if (m_spSHWinds.CreateInstance(__uuidof(SHDocVw::ShellWindows)) != S_OK)
{
MessageBox("Failed");
CoUninitialize();
EndDialog(1);
}
}
总是"Failed",不知这是什么原因呢????