Datasnap - passing a TmemoryStream
Posted on 2010-01-02
Question: in D2010 - I have TMemoryStream on both client and server ends.
After generating the Datasnap client classes, I tried to convert TMemoryStream to TStream so it can be passed between client/server, but in gettign errors on the conversion.
Is there any way to either:
1. convert TmemoryStream to TBytes or TStream so it can be transported?
2. wrap a TmemoryStream so it can be transfered as a TDBXValue?
if it makes a difference.. the transport is TCP. http will not be used