E
edgekaos
I want to pass a structure to a unmanaged dll function. Inside this
structure there is a pointer to a callback function. Unmanaged code
will call this managed function as a callback function. I know how to
pass the structure and define a delegate for the callback but I don't
know how to define the marshelling for the callback pointer.
structure there is a pointer to a callback function. Unmanaged code
will call this managed function as a callback function. I know how to
pass the structure and define a delegate for the callback but I don't
know how to define the marshelling for the callback pointer.