msXML编译错误
我的程序很简单:
在VC中,stdafx.h中加入
#import "msxml3.dll" rename_namespace( "MSXML3" )
using namespace MSXML3 ;
在程序中
HRESULT hr;
IXMLDOMDocumentPtr pDoc;
pDoc.CreateInstance(__uuidof( DOMDocument));
但编译时报错:
error C2872: 'DOMDocument' : ambiguous symbol
why?