Subject: using msxml in ms vc++ with smart pointers From: "alan dennis" <alan_l_dennis@xxxxxxxxxxx> Date: Sat, 16 Jan 1999 18:42:29 PST |
Anyone know what's wrong with the following, it throws in loadXML: #include "iostream.h" #import "c:\winnt\system32\msxml.dll" rename_namespace("msxml20") int main(int argc, char* argv[]) { msxml20::IXMLDOMDocumentPtr XMLdoc ; CoInitialize(NULL); XMLdoc.CreateInstance(__uuidof(msxml20::IXMLDOMDocument)); XMLdoc->loadXML("<test>Hello World</test>"); cout << XMLdoc->xml << endl; return 0; } Thanks, Alan. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Help extending Java environment, Ed Nixon | Thread | using msxml in ms vc++ with smart , alan dennis |
RE: Feature Request: equivalent to , Ed Nixon | Date | using msxml in ms vc++ with smart , alan dennis |
Month |