Your COM object supplier should provide documentation that explains each of the component's methods and the ProgID. If you do not have documentation, use either the ColdFusion cfdump
tag or the OLE/COM Object Viewer to view the component's interface.
Effective with ColdFusion MX, the ColdFusion cfdump
tag displays the following information about a COM object:
The method and property information includes the parameter or property types and whether they are in, out, optional, or retval values. The cfdump
tag output does not include the object's ProgID.
Note: The dump header indicates the ColdFusion object class, which is coldfusion.runtime.com.ComProxy, and the COM object CLSID.
The OLE/COM Object Viewer installation installs the executable, by default, as \mstools\bin\oleview.exe. You use the Object Viewer to retrieve a COM object's ProgID, as well as its methods and properties.
To find an object in the Object Viewer, it must be registered, as described in Registering the object. The Object Viewer retrieves all COM objects and controls from the Registry, and presents the information in a simple format, sorted into groups for easy viewing.
By selecting the category and then the component, you can see the ProgID of a COM object. The Object Viewer also provides access to options for the operation of the object.
If you view the TypeInfo, you see the object's methods and properties, as shown in the following figure. Some objects do not have access to the TypeInfo area, which is determined when an object is built and by the language used.