Board index » cppbuilder » Ahhh Help, Dynamic TXMLDocument
Mike Collins
![]() CBuilder Developer |
Ahhh Help, Dynamic TXMLDocument2008-02-10 02:45:14 AM cppbuilder32 Hi all, sorry about posting here but .xml newsgroup looks a bit dead. I'm having a major problem, I need to read in and parse some XML within a DLL. I intended to do this using a TXMLDocument althrough the DLL does not have any TForm's or DataModules. Before i got started, I did a basic test, dynamically creating an occurance of the TXMLDocument and it looked to work i.e. xmlDoc = new TXMLDocument(""); However, now that i try to load my XML, I keep getting Access Violation Errors. I've tried assigning the DOMVendor and I've tried other load functions i.e. LoadFromFile, LoadFromStram, LoadFromXML but all create AV's. Has anyone come across this before? Does anyone know how i can resolve this? Many thanks in advance, Mike C |