[fpc-pascal] Web Service Toolkit - Questions
Michael Van Canneyt
michael at freepascal.org
Thu Jun 7 13:56:12 CEST 2007
On Thu, 7 Jun 2007, Johann Glaser wrote:
> Hi!
>
> Studying the WST Wiki page
> http://wiki.freepascal.org/Web_Service_Toolkit I found that it seems not
> to be possible to serialize records. What is the difficulty implementing
> that?
None, I suppose, except that you must parse it :-)
> How can I transport a record between two programs? I'd like to have the
> same memory footprint (because it is forwarded to an USB device), so it
> would be possible to pseudo-serialize the record into some byte stream
> before transport.
You could convert your record to a class and transport that. The class
is only needed in the transportation step, the rest of the code does not
need to see it.
I think WST would greatly benefit from switching to pparser in the FCL.
It would put all types available.
Michael.
More information about the fpc-pascal
mailing list