Creating Instances of Licensed COM Objects

In some programming languages, such as Visual Basic, you cannot create instances of licensed COM objects. The ILEADDicomFactory object/interface will allow you to create instances of licensed COM objects, such as the LEAD Raster COM Object, LEAD RasterView Control, and LEAD Dicom Kernel COM Object. The CreateObject method creates an instance of a licensed COM object and returns an IUnknown pointer to the created object. This is for use in Visual Basic. For ASP, VisualBasic Script and Java Script, LEADTOOLS provides the CreateObject2 method, which returns an IDispatch pointer to the created object.