Don’t provide a method that terminates your server. Let the server automaticallyterminate when no references to the server exist. If you provide an Exitmenu option in an OLE server that displays a user interface, simply unloadthe forms the user opened and free all object instances that were created.