November 12th, 2001, 01:19 AM
MSXML: import problem
I have a test application to generate a xml file. I have used
#import "c:\winnt\system32\msxml3.dll" named_guids raw_interfaces_only
using namespace MSXML2;
Wherever i use the IXMLDOMDocument or IXMLDOMNode , i get the following error:
error: 'IXMLDOMDocument' ambiguous symbol.
CComPtr pDoc = NULL;
Does anyone know why? Thanx
November 12th, 2001, 01:34 AM
Re: MSXML: import problem
A .tlh file is created in the debug folder called msxml3.tlh. Open this tlh file, and verify the namespace. See if it's the same as the one you are using in your code.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!