I have a xml document that I need to load to parse.

Does parser->parse(xmldoc) will do it?

Sorry it may be basic but I just need to confirm

appreciate

 

-----Original Message-----
From: Murphy, James [mailto:[EMAIL PROTECTED]]
Sent:
Thursday, February 07, 2002 11:59 AM
To: '[EMAIL PROTECTED]'
Subject: RE: BSTR

 

No - you have to translate one to the other using transcode to get the transcoded characters from a DOM string and create a BSTR from that.  BSTRs have to reside in a special memory heap.  Depending in your environment you might like ATL' s CComBSTR class to accept and managed the characters from transcode. 

 

DOMString domString("foo");

CComBSTR bstrString(domString.transcode())

 

Jim

-----Original Message-----  
From: Bavishi, Pankij [mailto:[EMAIL PROTECTED]]
Sent:
Thursday, February 07, 2002 11:20 AM
To: [EMAIL PROTECTED]
Subject: BSTR

 

Thanks guys for my former query.

Just want to confirm one more thing:

Is BSTR compatible with DOMString? Can I replace BSTR with DOMString if I am working on VC++?

 

Reply via email to