tags:

views:

963

answers:

1

Hi,

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.

+2  A: 

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
last link no worky...
Mike Trader
now it's ok, tanks
lsalamon