>I am creating a Com object in VFP8. I compile the object as a DLL and test it. This works. But if I make a change and go back to re-compile as the same DLL name, I get a file accessed denied message.
>
>How do you clear Com objects from memory?
>
>Thanks,
>
Jerry,
If you're in VFP or VB for testing, setting the variable to .NULL./Nothing or calling its Release method should release it from memory. If you are in ASP, then the IIS service holds your COM object. You can reset IIS using
iisreset /restart
to sut down IIS and release all of its holds.
If you have your COM object set up as a package under MTS/COM+, you can stop the package, recompile your COM DLL and restart the package.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao