<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote cite="mid:524967EF.1040003@zoznam.sk" type="cite">
<blockquote cite="mid:52495BDC.9080208@avidsoft.com.hk" type="cite"><font
size="+1">Also, how do I use the procedure LoadFromStream(AStream
: TStream;
Format: TDataPacketFormat = dfAny)?<br>
Especially, I don't understand the TDataPacketFormat parameter.<br>
</font></blockquote>
Using Format parameter you can signal to DatapacketReader in which
format expect data (dfBinary, dfXML etc)<br>
It is not required , when not set there is procedure which tests
"incoming" data using RecognizeStream method and select those
DatapacketReader, which is able handle "incoming" data.<br>
In other words each registered DataPacketReader is able say if is able
handle data in stream or not.<br>
(examines begining of stream and looks for own "format identification")<br>
-Laco.<br>
<br>
</blockquote>
Let me clarify. How do I SaveToStream from another TDataset descendant
and LoadFromStream in TBufdataSet?<br>
<br>
I am trying to call SaveToStream from some Delphi TDataset Descendent
to to be loaded by FPC's TBufdataSet.LoadFromStream. How should I do
it?<br>
<br>
Dennis<br>
</body>
</html>