|
From: mri_ <mr...@gm...> - 2002-10-15 18:12:22
|
Hello there I need to read/write a xml-file. First I tried to use libxml2 but with this I get some myterious chrashes when writing attributes. Myterious because they are there on one PC and missing on another. In case I have some experience working with MSXML in VC++, so I tried to use this instead. By the fact, that #import doesn't work wit Devc++ it's something diffrent to use. I think I implemented everything right, because my project was compiled successful with a declaration of an IXMLDOMDocument* inside. But then there are some problems: I used the ::CoCreateInstance() as it's shown in the XMLSDK example. But when I try to open a file with loadXML the program crash. Using the load function I have big problems with the VARIANT datatype. Has anybode done this successfully and can show me an example? michael |