Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

How can I implement a connection point with C#?

I have to use c # to achieve the process component, and now would like to achieve the connection point function. Can you help me?

Now i treat the C# com exe as a dll ,and add it as a reference.And use it like a dll.And use event to deal with my problem.It was so easy!

Now i use late binding to call the com ,but how can i use event or connection point?

Is it available?

Posted
Updated 24-Nov-09 17:26pm
v4

No idea, but here's some reading material for you in case you haven't come across it before: http://msdn.microsoft.com/en-us/magazine/cc163361.aspx
 
Share this answer
 
I believe this would thw rong approach altogether. Nobody needs COM Connection Points in C#. You either use C++ COM Connection Points for your C# clients, or you just make direct calls from C# clients into C++. I can't think of any scenario where it would be necessary to write C# Connection Points for C++ clients...

;)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900