i'm getting a memory access violation in comip.h at the following code:Code:#import <msxml6.dll> int main() { ::CoInitialize(NULL); MSXML2::IXMLDOMDocumentPtr doc; doc.CreateInstance(__uuidof(MSXML2::DOMDocument)); doc->validateOnParse = true; if (doc->load("c:\\test.xml")) { } ::CoUninitialize(); }
the test.xml is a valid XML file. is there some funky magic happening in the background i should know about? thanks.Code:void _Release() throw() { if (m_pInterface != NULL) { m_pInterface->Release(); } }



LinkBack URL
About LinkBacks



