Using COM Objects (new interfaces)
-
I have a COM object with 2 interfaces, IClient and IClient2. Using the object with the first interface is easy, I just add it to my project with "Project/Add Reference", and create it like this:
Client tc = new Client();
Then I get access to all the functions in the IClient interface. But, I also have e newer interface, IClient2, which implements all methods from IClient and some new ones, but I can't figure out how to use IClient2 :confused: Anyone have a good idea? - Anders Money talks, but all mine ever says is "Goodbye!" -
I have a COM object with 2 interfaces, IClient and IClient2. Using the object with the first interface is easy, I just add it to my project with "Project/Add Reference", and create it like this:
Client tc = new Client();
Then I get access to all the functions in the IClient interface. But, I also have e newer interface, IClient2, which implements all methods from IClient and some new ones, but I can't figure out how to use IClient2 :confused: Anyone have a good idea? - Anders Money talks, but all mine ever says is "Goodbye!"In case you don't get any answers here, the DOTNET mailing list has fielded a TON of questions on COM interop; something I haven't had to do which is why I can't answer your question. Sorry I don't have a straight-up answer, James Simplicity Rules!