<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>CREATEOBJECT</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="Description">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">CREATEOBJECT</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Description</span>
<p>
Creates a ColdFusion object, of a specified type.
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Returns</span>
<p>
An object, of the specified type.
</p>
<table>
  <tr valign="top">
    <td width="30"><strong>Note: </strong></td>
    <td>You can enable and disable this function in the ColdFusion Administrator, ColdFusion Basic Security, Tag Restrictions page. </td>
  </tr>
</table>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Category</span>
<p>
Extensibility functions
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">History</span>
<p>
ColdFusion&#160;MX&#160;7: For web service object: added the portName parameter, which specifies a port named in the service element of the WSDL.
</p>

<p>
ColdFusion&#160;MX: 
</p>
<ul>

<li>Changed instantiation behavior: this function, and the cfobject tag, can instantiate ColdFusion components and web services. Executing operations on a CFC object executes CFML code that implements the CFC's method in the CFC file. </li>

<p>
For more information, see ColdFusion MX Developer's Guide.
</p>
    </td>
  </tr>
<li>For CORBA object: changed the Naming Service separator format for addresses from a dot to a forward slash. For example, if &quot;context=NameService&quot;, for a class, use either of the following formats for the class parameter:</li>
<ul>

<li>&quot;Macromedia/Eng/CF&quot; </li>

<li>&quot;Macromedia.current/Eng.current/CF&quot; </li>

<p>
(In earlier releases, the format was &quot;Macromedia.Eng.CF&quot;.)
</p>
    </td>
  </tr></ul>

<li>For CORBA object: changed the locale parameter; it specifies the Java config that contains the properties file.</li>
</ul>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">CreateObject object types</span>
<p>
For information about using this function, see these sections:
</p>
<ul>

<li>"CreateObject: COM object" on&#160;page&#160;780</li>

<li>"CreateObject: component object" on&#160;page&#160;782</li>

<li>"CreateObject: CORBA object" on&#160;page&#160;783</li>

<li>"CreateObject: Java or EJB object" on&#160;page&#160;785</li>

<li>"CreateObject: web service object" on&#160;page&#160;786</li>
</ul>
<table>
  <tr valign="top">
    <td width="30"><strong>Note: </strong></td>
    <td>On UNIX, this function does not support COM objects.</td>
  </tr>
</table>
         </td>
      </tr>
   </table>
   </div>

  </body>
</html>
