concurrent::streams::istream to COM IStream

Jul 10, 2014 at 4:15 AM
I working on an application, in which my API accepts the COM IStream.
I want to retrieve the COM IStream for a file on the server.
how should I do that?
Any reference, tutorial or book would also be a great help
Jul 10, 2014 at 6:00 PM
Hi utsav_popli,

Like Kavya mentioned in one of your other discussion posts, we don't have any APIs for interacting with a COM IStream. We try to keep the public API entirely cross platform and that is a very Microsoft specific stream.

Your options include writing the file that you download from your server into a file and then opening an IStream on the file, or you write a IStream wrapper over raw memory or our stream asynchronous streams.

As far as tutorials and reference, take a look at the test cases, samples (under Release\samples), and our documentation tab contains some good information for getting started.