Click to See Complete Forum and Search --> : Passing delegates to C functions


arunraj_v1
December 10th, 2008, 03:17 AM
I am writing a wrapper for a C Dll which have a function like,

[

long SetEventRcv(int self, int EventHandler)

]

how to pass evenhandler delegate to this function?

boudino
December 10th, 2008, 06:56 AM
Try look at Marshal.GetFunctionPointerForDelegate static method.