|
-
June 25th, 2008, 12:59 AM
#1
[2005] Pinning Delegates
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|