C++ and xml

I am developing a xml app in VC++
I am trying to dynamically generate an xml page using VC++
But when i declare a pointer to the interface
IXMLDOMDocument        *pXMLDoc ;
it gives me an error saying
"undeclared identifier"
I have gone through the help and it states that u need to include the
xmldom.idl file to use these interfaces
but this file is not present on my machine.

Can u suggest a way out?
Where can one find this file.

Reply asap
Thanks in advance
Regards
Sajana
sajana11Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

chensuCommented:
You need to install the latest Platform SDK (September 1999 Edition), of which msxml.h has IXMLDOMDocument defined.

Either download it at
http://msdn.microsoft.com/developer/sdk/platform.asp
or get it on the MSDN CDs.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sajana11Author Commented:
I have visited the url supplied by you
,Do i need to download the entire
platform SDK or only some of its components ?

Anyways i tried downloading the whole thing, i.e i clicked on the link for
Platform SDK setup.It took me to page where it asked me to install the Windows installer first.
I tried to, but it failed.
I could'nt install the SDK becoz of this.
Can u give me any other solution or any other site where i can find the same stuff?

Thanks
Regards
Sajana
0
chensuCommented:
What OS are you using? What error message did you get? It should install. You may have to try other systems. You don't have to download everything. You need at least the header files and libraries.
0
sajanaCommented:
Thanks chensu- I have been able to install the platform sdk
from the microsoft site.I guess the ftp server was down yesterday.

Anyways,the xmldom.idl file lies in the c:\platform sdk\include
folder.now what new settings have i to make to my project so that it includes this particular .idl file  during compilation and does not give me an error when i declare a pointer to the
IXMLDOMDocument interface.

I am writing an app in c++ for the first time so please guide me


Thanks again,

Regards
Sajana
0
chensuCommented:
Choose menu Tools/Options..., Directories tab, add c:\platform sdk\include to the Include files list and move it to the top, add c:\platform sdk\lib to the Library files list and move it to the top.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.