Archived

This forum has been archived. Please start a new discussion on GitHub.

How to send IStreamin ICE?

In my job,i need use ICE to send RecordSet,
just like this ↓
HRESULT SaveRS(_RecordsetPtr pRS/*IN*/, IStream* * ppStream/*OUT*/);

so,how can i send IStream* * ppStream by ICE?
can i conversion it to String?

Comments

  • benoit
    benoit Rennes, France
    Hi,

    You can't pass directly an IStream object -- you need to convert it to a Slice type such as sequence<byte> in order to pass it to a Slice method.

    Cheers,
    Benoit.