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 LtocxKrnDlgu.dll will register the ILEADRasterDlgKrn Object.

REGSVR32 LtocxImgEfxDlgu.dll will register the ILEADRasterDlgImgEfx Object.

REGSVR32 LtocxFileDlgu.dll will register the ILEADRasterDlgFile Object.

REGSVR32 LtocxImgDlgu.dll will register the ILEADRasterDlgImg Object.

REGSVR32 LtocxWebDlgu.dll will register the ILEADRasterDlgWeb Object.

REGSVR32 LtocxEfxDlgu.dll will register the ILEADRasterDlgEfx Object.

REGSVR32 LtocxImgDocDlgu.dll will register the ILEADRasterDlgImgDoc Object.

REGSVR32 LtocxClrDlgu.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 LtocxKrnDlgu.dll will unregister the ILEADRasterDlgKrn Object.

REGSVR32 /u LtocxImgEfxDlgu.dll will unregister the ILEADRasterDlgImgEfx Object.

REGSVR32 /u LtocxFileDlgu.dll will unregister the ILEADRasterDlgFile Object.

REGSVR32 /u LtocxImgDlgu.dll will unregister the ILEADRasterDlgImg Object.

REGSVR32 /u LtocxWebDlgu.dll will unregister the ILEADRasterDlgWeb Object.

REGSVR32 /u LtocxEfxDlgu.dll will unregister the ILEADRasterDlgEfx Object.

REGSVR32 /u LtocxImgDocDlgu.dll will unregister the ILEADRasterDlgImgDoc Object.

REGSVR32 /u LtocxClrDlgu.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.