Hi Claudio,
Have you tried to create an ON SHUTDOWN procedure for your COM server? Also, AddProp is a simple wrapper to the _SetObjectProperty() function in the VFP API. You could create your own FLL/OCX that calls this function, and uses the VC7 multithreaded runtime.
Christof
--
Christof