I’m trying to write xml data with XmlLite on buffer but couldn’t got any api. writing a xml file works perfect but on a memory stream I can’t figure
i am working on follwong link api
http://msdn.microsoft.com/en-us/library/ms752901(v=VS.85).aspx
I’m trying to write xml data with XmlLite on buffer but couldn’t got any
Share
You can use either SHCreateMemStream or CreateStreamOnHGlobal to create an memory stream. Here is the sample code for your reference:
One pretty thing about XmlLite is it works with IStream interface. It really doesn’t care what exactly the stream looks like behind the scene.