Hello.
Im using an ActiveX Control in my .NET project and I have to use a method that originally accepted a IStream.
The .NET type library importer has modified the parameter of this method and now looks like this Interop::MyActiveXControl::IStream.
The problem that I have is that I cant create directly a Interop::MyActiveXControl::IStream because this is an interface.
I have created a System::IO::MemoryStream and fill it with data but this type cant be converted ( or I dont know how ) to convert to Interop::MyActiveXControl::IStream.
Any ideas ??
Thanks in advance.
Im using an ActiveX Control in my .NET project and I have to use a method that originally accepted a IStream.
The .NET type library importer has modified the parameter of this method and now looks like this Interop::MyActiveXControl::IStream.
The problem that I have is that I cant create directly a Interop::MyActiveXControl::IStream because this is an interface.
I have created a System::IO::MemoryStream and fill it with data but this type cant be converted ( or I dont know how ) to convert to Interop::MyActiveXControl::IStream.
Any ideas ??
Thanks in advance.