By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,084 Members | 1,214 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,084 IT Pros & Developers. It's quick & easy.

Using existing COM interface to expose .NET class

P: n/a
Hi,

Introduction:
****************
I have a collection of COM objects that support a constant interface, the interface is build of a collection of properties, methods and events ( events are implemented as IDispatch connection point ), I am trying to create a .NET assembly that will expose the same interface exposed by the other ( binary ) COM components.

The problem:
*****************
I have no problem exposing properties and methods BUT I didn't figured out how to support the Sink interface events, I have tried using the *_SinkHelper class and the *_Events (generated upon referencing the tlb) class but got no success...
How should I use .NET to support an existing COM sink interface?
How should I use the proxy generated by the .NET framework?

Any samples/Pointers will be appreciated.

ThanX
Nadav.
Nov 15 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.