Hi,

I'm passing a delegate into an unmanaged function using Platform Invoke.
But when I try to call the function later, I get an error saying that the Garbage Collector has already moved my delegate.

How do I stop the Garbage Collector from moving my delegate?

Thanks in advance