Native funtion pointers in managed class

  • Thread starter Thread starter Ertan EFE
  • Start date Start date
E

Ertan EFE

hi,

I want to use a native function as a member variable in managed class. I'll
set this member variable to a native funtion pointer with its retunr type
and params. so then I call such as PInvoke method on this member for
achieving call global unmanaged callback function.
I looked GetManagedThunkForUnmanagedMethodPtr method fro achieve this but
has example in msdn or other resources

Anyone help me ?
 
Back
Top