General DICOM COM Support
Certain functionalities, such as unlocking support, using common constant definitions and generating runtime exceptions are common to all DICOM COM objects. To support these functionalities, LEADTOOLS provides the ILEADDicomKernel object, which is required by all other DICOM COM objects.
Some features of LEADTOOLS are locked and must be unlocked before they can be used. To determine whether a feature is locked, the ILEADDicomKernel includes the IsSupportLocked method. To actually unlock a locked feature, ILEADDicomKernel includes the UnlockSupport method. For more information on unlocking DICOM support or other LEAD features, refer to Unlocking DICOM Support and Unlocking Special LEAD Features.
In addition to receiving error codes from methods, you may wish to have LEADTOOLS generate runtime exceptions. To enable the generation of runtime exceptions, set the EnableMethodErrors property of the ILEADDicomKernel object to TRUE.