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?
Printable View
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?
Try look at Marshal.GetFunctionPointerForDelegate static method.