Next: Parameters
Up: RegisterObject
Previous: Use
Contents
Fabio Mascarenhas de Queiroz 2005-01-07
Description
This method removes the registry entries for a COM object, using the information in registration_info table. If the component is successfully unregistered, the method returns a non-nil value.The registration_info table must contain the following fields6.2:
- VersionIndependentProgID
- This field must contain a string describing the programmatic identifier for the component, e.g. ``MyCompany.MyApplication''.
- ProgID
- The same as VersionIndependentProgID but with a version number, e.g. ``MyCompany.MyApplication.2''.
- TypeLib
- The file name of the type library describing the
component. This file name should contain a path, if the type library
isn't in the same folder of the executable. Samples:
mytypelib.tlb
,c:\app\test.tlb
,test.exe\1
(this last one can be used when the type library is bound to the executable as a resource). - CoClass
- The name of the component class. There must be a coclass entry in the type library with the same name or the registration will fail.
Fabio Mascarenhas de Queiroz 2005-01-07