Link to home
Start Free TrialLog in
Avatar of controlr
controlrFlag for Israel

asked on

Datasnap - passing a TmemoryStream

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?
or..
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
ASKER CERTIFIED SOLUTION
Avatar of mocarts
mocarts

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of controlr

ASKER

perfect! thanks
perfecto!