MSXML: import problem
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: MSXML: import problem

  1. #1
    Join Date
    Jan 2001
    Posts
    175

    MSXML: import problem

    Hello,
    I have a test application to generate a xml file. I have used

    #include
    #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


  2. #2
    Join Date
    Jul 2001
    Location
    Mumbai,India
    Posts
    382

    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.

    Regards,
    The Beret.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center