System::Object issue

Hi,
I did a reference to a DLL and I am trying to use a method that requires a System::Object^ as a parameter.

When I create the variable and call the method, I get an error saying that is expecting a IStream Object.

When I create the IStream variable and add it to the method the intellisense tells me that is no conversion from std::istringstream to system::object^

The help on the DLL says this:
Currently, this must pass an object that supports IStream

Can anybody explain how to do this?

Thank you,
Antonio
closed account (SECMoG1T)
Hi if you dont mind I did a reference to a DLL  I will appreciate if you help me understand
How to go about dlls I am interested but know nothing about them . Thanks
Hi
I added a referente to the project in visual studio, you right click browse to the DLL and just add it. Then just add it to the class with the "using"
closed account (SECMoG1T)
@amnotes65 for the direction but eeeh, do you hard code the dlls yourself. ... ? just curious thanks
Last edited on
andy1992: Please don't hijack threads to ask your own questions.

amontes65: You're programming in C++/CLI, not C++. You can ask this question in the Windows board.
http://www.cplusplus.com/forum/windows/
@helios...
Upss.. thank you...

I am new to C++, I been developing on VB for 20 years and now I am jumping the pond... I did some Turbo C in the 90's but now is totally different...

I will move to that forum.
Thanks,
closed account (SECMoG1T)
Ooh sorry for that
Topic archived. No new replies allowed.