Registering and Unregistering the Common Dialog COM object

Registering COM Objects

Before the Common Dialog COM object can be used, it must be registered. The installation program automatically registers all the LEADTOOLS objects. If you would like to manually register the objects run:

REGSVR32.EXE for 32-bit objects

found in the BIN directory and pass the name of the objects to register as a parameter.

EX.:

REGSVR32 LTRDK14n.DLL will register the ILEADRasterDlgKrn Object.

REGSVR32 LTRDX14n.DLL will register the ILEADRasterDlgImgEfx Object.

REGSVR32 LTRDF14n.DLL will register the ILEADRasterDlgFile Object.

REGSVR32 LTRDM14n.DLL will register the ILEADRasterDlgImg Object.

REGSVR32 LTRDW14n.DLL will register the ILEADRasterDlgWeb Object.

REGSVR32 LTRDE14n.DLL will register the ILEADRasterDlgEfx Object.

REGSVR32 LTRDO14n.DLL will register the ILEADRasterDlgImgDoc Object.

REGSVR32 LTRDR14n.DLL will register the ILEADRasterDlgClr Object.

Unregistering COM Object

To unregister the Common Dialog COM object, include the "/u" switch before the object name when running:

REGSVR32.EXE for 32-bit objects

EX.:

REGSVR32 /u LTRDK14n.DLL will unregister the ILEADRasterDlgKrn Object.

REGSVR32 /u LTRDX14n.DLL will unregister the ILEADRasterDlgImgEfx Object.

REGSVR32 /u LTRDF14n.DLL will unregister the ILEADRasterDlgFile Object.

REGSVR32 /u LTRDM14n.DLL will unregister the ILEADRasterDlgImg Object.

REGSVR32 /u LTRDW14n.DLL will unregister the ILEADRasterDlgWeb Object.

REGSVR32 /u LTRDE14n.DLL will unregister the ILEADRasterDlgEfx Object.

REGSVR32 /u LTRDO14n.DLL will unregister the ILEADRasterDlgImgDoc Object.

REGSVR32 /u LTRDR14n.DLL will unregister the ILEADRasterDlgClr Object.

For a list of required DLLs for the Common Dialog COM object, refer to Files To Be Included With Your Application.