-
February 6th, 2006, 10:58 AM
#1
C++ and XML in Win32
I am sure it's out there... but I just can't locate it. I want to enable my C++ app to read/write XML using win32 (no MFC). Is there a standard API that would enable this functionality? If so, can someone direct me to some more information or a tutorial?
Thanks!
-
February 6th, 2006, 04:12 PM
#2
Re: C++ and XML in Win32
Are you referring to the IXMLDOMDocument interface?
Cheers
-
February 6th, 2006, 05:00 PM
#3
Re: C++ and XML in Win32
search for XML parser in these forums. There is what is called MSXML, which is a COM based class provided by microsoft. There are other alternative libraries too. You should find links to some of them here in the forums
-
February 7th, 2006, 01:23 PM
#4
Re: C++ and XML in Win32
Originally Posted by eeboy
I am sure it's out there... but I just can't locate it. I want to enable my C++ app to read/write XML using win32 (no MFC). Is there a standard API that would enable this functionality? If so, can someone direct me to some more information or a tutorial?
Thanks!
COM does not require MFC.
Use #import directive and the compiler will generate C++ classes (COM interfaces) based on type library contents (in .tli and .tlh files)
Here is what you have to add somewhere in your source code:
Code:
#import "msxml3.dll"
using namespace MSXML2;
More info about MSXML interfaces you can find in MSDN as already suggested.
Last edited by ovidiucucu; February 7th, 2006 at 01:27 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|