> I'm writing some COM objects that will be used from vbscript with > internet explorer. When I set breakpoints in the com object and > terminate execution somewhere in the middle of that object, there are a > number of Release()'es that aren't called. So then the object isn't > destroyed and even if I do regsvr32 /u of the dll, I cannot delete or > overwrite the dll. Now my question: is there a way to 'forcefully' > destroy the floating com object? I just want to be able to overwrite the > dll. (btw using proces explorer from sysinternals I can see that the dll > is still opened by explorer.exe and by devenv.exe. I'm not sure why > devenv.exe has it open.)
I can probably tell you why devenv keeps it open - VB (6) always keeps references to controls (OCXs, COM DLLs) until the environment is shut down. Grrr! -- Jason Teagle [EMAIL PROTECTED] _______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
