<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<meta name="qrichtext" content="1">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment-->Thanks
your suggestion, I need similar TXMLPropStorage.SaveToStream() and
TXMLPropStorage.LoadFromStream(). Iwanna save and load xml doc to
Tstream.<br>
<br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">this is in
lfm:<br>
object xmp: TXMLPropStorage<br>
StoredValues = < <br>
item<br>
Name = '1111'<br>
Value = '11111'<br>
KeyString = '111'<br>
end <br>
item<br>
Name = '22'<br>
Value = '222'<br>
KeyString = '2'<br>
end><br>
left = 24<br>
top = 16<br>
end <br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br>
procedure TForm1.Button1Click(Sender: TObject);<br>
var st : TMemoryStream;<br>
begin<br>
try<br>
st := TMemoryStream.Create;<br>
TmyCustomXMLPropStorage(XMP).XMLConfig.SaveToStream(st);<br>
memo1.Lines.LoadFromStream(st);<br>
//TmyCustomXMLPropStorage(XMP).XMLConfig.LoadFromStream(st);<br>
finally<br>
st.Free;<br>
end;<br>
end; <br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br>
and result :<br>
Project project1 raised exception class 'External: SIGSEGV'.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px;"><br>
<!--EndFragment--></p>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style><br>
<br>
<div class="moz-cite-prefix">02-07-2014 16:30 tarihinde, Virgo Pärna
yazdı:<br>
</div>
<blockquote cite="mid:slrnlr82bu.plo.virgo.parna@dragon.gaiasoft.ee"
type="cite">
<pre wrap="">On Wed, 02 Jul 2014 15:56:57 +0300, FreeMan <a class="moz-txt-link-rfc2396E" href="mailto:freeman35@delphiturkiye.com"><freeman35@delphiturkiye.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">without savefile to disk
</pre>
</blockquote>
<pre wrap="">
TMemoryStream
</pre>
</blockquote>
<br>
</body>
</html>