Hi Claudio,
>Inside a COM component? I never did that... what did you mean?
I haven't tried with DLL server, but with EXE servers, you can issue ON SHUTDOWN DO Something to ran code when the last COM server of an EXE is unloaded. It doesn't fire reliable, though.
>I don´t have any idea how could I do that. :)
There's a description of it in the VFP help file. But if you have found a different solution, it's probably not worth the trouble.
Christof
--
Christof