|
-
March 18th, 2002, 07:42 AM
#1
Garbage Collector
Hi.
This question seems to be very simple but...
How can I prevent a managed object from being garbage collected ? I'am creating the object in the method of an unmanaged class and save a reference to it as a normal GCHandle.
GC.KeepAlive does not make the work for me.
Thanks in advance, VictorL
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
|