C# Developers' Journal (original) (raw)

6:38a

COM -> .NET interop in jscript Hello everyone.

I've got a tough one (for me at least). I have a managed class that uses interop that allows unmanaged code to use it. What the class needs to be able to do is be instantiated in an IE browser instance javascript code, be used as needed, then go away (be destroyed).

I have everything working, EXCEPT IE won't let go of the instances of the object. All instances of IE need to be closed in order for the object to be released in memory. As this class could be used an unlimited number of times, I need to to behave like a good little object and be destroyed after use (well, at least let it get picked up by GC). I'm sort of at a loss.

( Read MoreCollapse )

Current Mood: determined