Cfobject: Com Object - MACROMEDIA COLDFUSION MX 61-CFML Reference

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

cfobject: COM object

Description
Creates and manipulates a Component Object Model (COM) object. Invokes a registered
automation server object type.
For information on OLEView, and about COM and DCOM, see the Microsoft OLE
Development website: www.microsoft.com.
To use this tag, you must provide the object's program ID or filename, the methods and
properties available through the IDispatch interface, and the arguments and return types of the
object's methods. For most COM objects, you can get this information with the OLEView
utility.
Note: On UNIX, this tag does not support COM objects.
Syntax
<cfobject
type = "com"
action = "action"
class = "program_ID"
name = "text"
context = "context"
server = "server_name">
See also
ReleaseComObject, cfcollection,
Attributes
Attribute
Req/Opt
type
Optional
action
Required
class
Required
name
Required
254
Chapter 2: ColdFusion Tags
cfexecute
Default Description
Object type:
• com
• corba
• java
(The other object types do not take the type attribute.)
• create: instantiates a COM object (typically, a DLL) before
invoking methods or properties.
• connect: connects to a COM object (typically, an EXE)
running on server.
Component ProgID for the object to invoke. When using Java
stubs to connect to the COM object, the class must be the
ProgID of the COM object.
String; name for the instantiated component

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents