Home Help Center

How to send IStreamin ICE?

soff.dongsoff.dong Member qiao dongOrganization: accuradProject: v6's net project ✭✭
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?


  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff

    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.

Sign In or Register to comment.