Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: 'IXMLDOMDocument3' : undeclared identifier

From: MarkSerlin@-----------.---------.---
To: NULL
Date: 8/1/2005 10:15:00 AM
It appears that IXMLDOMDocument3 should actually be IXMLDOMDocument.
Should've known really.
:(

-- 
Newbie to <some of> this stuff ;-)


"Mark Serlin" wrote:

> Hi all
> As a newbie to this particular environment, I am trying to get some basic 
> XML support into a VC++ application, and am working through the example in 
> the msxml4 help files.
> I've made a console app which looks like this:
> 
> #include <stdio.h>
> #include <msxml2.h>
> 
> int main(int argc, char* argv[])
> {
>    HRESULT hr;
>    IXMLDOMDocument3 *pXMLDoc = NULL;
>    IXMLDOMParseError * pObjError = NULL;
>    BSTR bstr = NULL;
>    VARIANT_BOOL status;
>    VARIANT vSrc;
> 
>    CoInitialize(NULL);
>    printf("start using msxml4.dll... \n");
> 
>    CoUninitialize();
>    return 0;
> }
> 
> I've included msxmsl2.lib in the project lib path, and the msxml4/sdk/inc & 
> lib directories via tools->options->etc as instructed.
> 
> When I compile I get the following errors:
> error C2065: 'IXMLDOMDocument3' : undeclared identifier
> error C2065: 'pXMLDoc' : undeclared identifier
> error C2106: '=' : left operand must be l-value
> 
> What am I missing here? Is IXMLDOMDocument3 called something else and the 
> docs are wrong, or what?
> 
> Please help!
> --- 
> Newbie to all this stuff :)


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent