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

Thread: MSXML: import problem

  1. #1
    Join Date
    Jan 2001

    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

  2. #2
    Join Date
    Jul 2001

    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.

    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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)