[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.interop

How to pass an MemoryStream .NET to a IStream* C++

dom_perron

3/21/2007 6:29:00 PM

HI,

I want to pass a stream that I obtain in a .NET dll to a C++ ActiveX
to create an image.

I cannot change one of my dlls, one must be in c# and the other must
be in c++ (mfc).

I would like to get the memorystream from the c# dll to instanciate a
CImage from a IStream*.

Can I do this? If yes, how?

Thanks