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 ?
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 ?