I'm using a COM object....there is a function I'm calling, that in C++/MFC takes in a IStream object.
I'm not sure if there is an equivalent class I could use to pass in as that parameter in C#??? any COM l33ts out there?:sick:
Printable View
I'm using a COM object....there is a function I'm calling, that in C++/MFC takes in a IStream object.
I'm not sure if there is an equivalent class I could use to pass in as that parameter in C#??? any COM l33ts out there?:sick:
nvm it turns out that you have to implement the istream interface... there isnt a class that implements it as far as i could figure outQuote:
Originally Posted by MrPolite
The System.Runtime.InteropServices.ComTypes.IStream interface is the managed equivalent of that unmanaged interface. You need to define a class that implements that interface.
What is this object supposed to represent anyway? You may be able to inherit an existing managed class that provides much of the functionality already and simply provide methods that pass through to the existing methods.