] COM interop and explicit Release of IEnum
I need to explicitly Release some COM-objects that hold on
to some precious resources. Unfortunately these objects
doesn't provide a Close method.
I have found Marshall.ReleaseComObject(), that will
release the object for most RCW-objects.
Th
I need to explicitly Release some COM-objects that hold on
to some precious resources. Unfortunately these objects
doesn't provide a Close method.
I have found Marshall.ReleaseComObject(), that will
release the object for most RCW-objects.
The bad news is that ReleaseComObject() will not work