NextPrevUpTopContentsIndex

unregister-server

Function
Summary

Externally unregisters all class factories known to Lisp.

Package

com

Signature

unregister-server

Description

The unregister-server function updates the Windows registry to remove the appropriate keys for all the class factories registered in the current Lisp image. For Automation components, the type libraries are unregistered as well.

This function should be called when an application is uninstalled, usually by detecting the /UnRegServer command line argument.

Example
(defun start-up-function ()
  (cond ((member "/UnRegServer"
                 system:*line-arguments-list*
                 :test 'equalp)
         (unregister-server))
        ((member "/RegServer"
                 system:*line-arguments-list*
                 :test 'equalp)
         (register-server))
        (t
         (co-initialize)
         (start-factories)
         (start-application-main-loop)))
  (quit))
See also

register-server
register-class-factory-entry
start-factories
stop-factories


LispWorks COM/Automation User Guide and Reference Manual - 23 Mar 2005

NextPrevUpTopContentsIndex