User Guide
Chapter 2: ColdFusion Functions 301
CreateObject
Allows you tocreate COM, CORBA, and JAVA objects.
Note ColdFusion administrators can disable the CFOBJECT tag in the
ColdFusion Administrator Basic Security page, which also disables this
function.
Note On UNIX, COM objects are not currently supported by CreateObject.
CreateObject topics
• COM
• CORBA
• JAVA
Object Types
Depending on the value of the type parameter, there are several additional parameters
you can use. This table shows which parameters you can use with each object type.
Sections that follow describe these values and parameters in greater detail.
COM
CreateObject allows you to create and use COM (Component Object Model) objects.
Any automation server object type that is currently registered on a machine can be
invoked. You can use a utility like Microsoft’s OLEView to browse COM objects.
Parameters Used with Object Types
TYPE Parameters
COM TYPE
CLASS
CONTEXT
SERVER
CORBA TYPE
CONTEXT
CLASS
LOCALE
JAVA TYPE
CLASS