![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - RE: 'IXMLDOMDocument3' : undeclared identifier 'IXMLDOMDocument3' : undeclared identifierTo: NULL Date: 8/1/2005 10:15:00 AM 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 :)
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
