3

I have a COM add-in written in C++ (not C++ / CLI). I want to call a C# library objects/methods from this C++ com library.

I guess the CCW comes into picture here, which i am currently reading about.

Are there any quick pointers to this stuff from your experience?

Also, i have a method in my Com add-in that i would like my C# library code to call - i.e. a method pointer invocation.

Can you help telling me how i can do this please - i.e. how do i go about passing the method pointer to the C# code so it can call on it later.

Thanks.

CodeLover
  • 95
  • 5

1 Answers1

2

I have this links for you:
COM Interop Part 1 Sample
Create DCOM application from within .Net environment: Part V
C++ to C# call

lsalamon
  • 7,998
  • 6
  • 50
  • 63