title: replace COM objects in coldfusion 9
body: <p>I'm trying to replace COM objects in my ColdFusion 9 code. Before we used to use ColdFusion 7 and recently upgraded to 9, but version 9 does not support COM objects. Is there any way I can use the COM? Or how can I replace the COM objects with something else?</p>
  
  <p>My code :</p>
  
  <pre><code>&lt;cfobject type="COM" name="objGetSession" class="DlBizApp21.dlGMUBiz" action="create"&gt;
  &lt;cfset objSession = objGetSession.CurrentSession&gt;
  &lt;cfset loginx = objSession.Login("administrator", "abcd", "", "DBProd", "docxyz")&gt;
  
  &lt;cfscript&gt;
      objInquiry = CreateObject("COM","DlBizDoc21.DocumentInquiry");
      objDocTypes = CreateObject("COM","DLBizDoc21.DocumentTypes");
      objAdors = CreateObject("Com","adodb.recordset");
  &lt;/cfscript&gt;
  </code></pre>