Hello Everyone,
I have an Interface, named IChannelEvents. How can I implement it in my C# code. This interface is coming by refrencing a COM Component.
When I have to call some method I have to pass a reference to it, how can I do that.....
For example...
channel = d.OpenChannel("Client", IChannelEvents);
How can I pass IChannelEvents, as when I do it, its NULL.......
I know the way to do it in C++ code, but I want to do the same in C#...If someone wants I can post the C++ code....
Any suggestions, highly appreciated...
Thanks,
Harsimrat

How to Implement an Interface
Thierry Tuo
Hello Nasha,
IChannelEvents is the name of the Interface and I have found no way to implement that in C#....
Anu Viswan
Hi Harsimat,
I have question for you before I answer your question.When you say u wanna pass an interface does it mean the Type or an instance of an Class which is implementing that interface.
Is IChannelEvents an instance or the interface name
Regards,
Nasha {MVP}