Hi! A little stunt : in COM server (with pywin32), atexit is not interesting. Then, look, in the class-serverCOM, the method __del__(self): When you close the COM-server, or when you exit the application who called the COM-server, the method is called. And... "le tour est joué" (french sentence) @-salutations Michel Claveau