How to add call back functionality to a c++ com component ..

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am going through the WM5 sdk samples and in one of the COM samples is
calling card native c++ com examples. I would like to know what is the way
to add a call back so that the managed c# code can pass it a delegate.

An example would be appreciated.

Regards.
 
Chris,

I have already gone through your blog and it tells me how to define a
delegate from the managed side. I am actually looking for some help on
native side where you consume the delegate.

Regards
 
Take a look at the definition for FindWindow. It's pretty straightforward -
just declare a function that takes a function pointer. If I have time today
I'll add a sample to my blog.

-Chris
 
Hello ctacke/" ctacke_AT_OpenNETCF_com,

Thank you Chris. You are the best.

I will also check your blog for the new entry.

Regards.
 
Back
Top