![MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual Download Page 355](http://html1.mh-extra.com/html/macromedia/coldfusion-4-5-developing-web/coldfusion-4-5-developing-web_develop-manual_3286369355.webp)
Chapter 19: Using CFOBJECT to Invoke Component Objects
329
deployed with their own setup programs that register objects automatically, while
others may require manual registration.
Inproc object servers (*.dll, *.ocx) can be registered manually by using the
"regsvr32.exe" utility using the following form:
regsvr32 c:\path\servername.dll
Local servers (*.exe) are typically registered either by simply starting them or
specifying a command line parameters like:
C:\pathname\servername.exe -register
Finding the component ProgID and methods
Your COM object should provide documentation explaining each of the component’s
methods and the ProgID. With this information, you’re ready to work with the
CFOBJECT tag. If you don’t have documentation, use the Object Viewer to view the
component’s interface.
Using the OLE/COM Object Viewer
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
Program ID as well as its methods and properties.
Once you’ve installed a COM object, make sure you register it using the
regsvr32.exe
utility. Otherwise you won’t find the object in the Object Viewer. 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 Program ID of the
COM object you want to use. The Object Viewer also gives you access to options for the
operation of the object.
Summary of Contents for COLDFUSION 4.5-DEVELOPING WEB
Page 1: ...Allaire Corporation Developing Web Applications with ColdFusion ColdFusion 4 5...
Page 14: ...xiv Developing Web Applications with ColdFusion...
Page 26: ...xxvi Developing Web Applications with ColdFusion...
Page 34: ...8 Developing Web Applications with ColdFusion...
Page 70: ...44 Developing Web Applications with ColdFusion...
Page 84: ...58 Developing Web Applications with ColdFusion...
Page 114: ...88 Developing Web Applications with ColdFusion...
Page 148: ...122 Developing Web Applications with ColdFusion...
Page 174: ...148 Developing Web Applications with ColdFusion...
Page 208: ...182 Developing Web Applications with ColdFusion...
Page 244: ...218 Developing Web Applications with ColdFusion...
Page 274: ...248 Developing Web Applications with ColdFusion...
Page 288: ...262 Developing Web Applications with ColdFusion...
Page 300: ...274 Developing Web Applications with ColdFusion...
Page 350: ...324 Developing Web Applications with ColdFusion...
Page 362: ...336 Developing Web Applications with ColdFusion...