• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1166
  • Last Modified:

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
0
controlr
Asked:
controlr
  • 2
1 Solution
 
mocartsCommented:
Hi, controlr!
Take a look at this forum thread https://forums.codegear.com/thread.jspa?messageID=194726
Seems addressing your issue.

wbr, mocarts
0
 
controlrAuthor Commented:
perfect! thanks
0
 
controlrAuthor Commented:
perfecto!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now