Skip to main content
March 7, 2012
Question

Example of Cold Fusion 9 using a COM object?

  • March 7, 2012
  • 2 replies
  • 2611 views

We're not able to get COM of .NET objects working with Cold Fusion 9 and a third-party application. The vendor for the 3rd-party app has done some testing with their COM objects, as well as unrelated COM objects and they can't get any of them to work. This also matches our experience. Their hypothesis is that Cold Fusion 9 won't work with any COM objects. This seems surprising to me and I suspect that we are all implementing them incorrectly.

Can somebody provide an example implementation of CF9 with a COM (or .NET) object that we can test (preferably an implementation that is already tested to work). That will help us troubleshoot the source of the problem.

Our systems is Window 2008 server 64-bit. I don't know if the vendor is on the same O/S.

    This topic has been closed for replies.

    2 replies

    New Participant
    March 19, 2012

    We too are experiencing the same issue with COM on 64-bit ColdFusion install on Win 2008 R2 (64-bit).  We've even tried connecting to COM through a Java proxy generated by J-Integra's 'com2java' utility (mapped via 'neo-comobjmap.xml') and still no luck.  Can someone at Adobe please give us a viable solution or at least explain as to why this is not being supported/fixed?  Going back to a 32-bit OS just doesn't seem like a good option for us.  Any help/answers would be greatly appreciated!  Thanks!

    Inspiring
    March 20, 2012

    (These are user forums, so you will not get answers from adobe employees here.)

    From what I understand it is due to jvm limitations.

           http://forums.adobe.com/message/4268918

    Owainnorth
    Inspiring
    March 20, 2012

    The solution is to do away with using COM objects; it's an old technology so no-one's bothering to put the hours into supporting it. In these days of not only .NET assemblies for Windows but also SOAP and webservices, there's not really much need for such a clunky old technology.

    If you really rely on a COM object, I'd suggest looking into alternatives if there are any.

    Inspiring
    March 7, 2012
    March 7, 2012

    Thanks for the information and references!

    Is there a best practice for these circumstances? I see in the referenced information the possiblity of using 32-bit .NET and/or DCOM. I'm not the programmer for this so please excuse any uninformed statements.

    We want to use CF9 on 64-bit Windows 2008 Server to display ActivePDF documents. Can somebody recommend how we can approach this? Meanwhile, I'll pass this on to the developers involved to see if the answer is evident to them from the referenced discussion.

    Inspiring
    March 7, 2012

    A brief search suggests ActivePDF offers a .net wrapper. You might try using that instead.

        http://www.activepdf.com/corporate/news/pressreleases/NetRelease.cfm

       NetRelease.cfm

    Hey.. the ActivePDF site runs CF. Nice ;-)

    Message was edited by: -==cfSearching==-