Skip to main content
Participant
February 2, 2011
Question

x64 CF8 cfobject com error while 32 bit dll

  • February 2, 2011
  • 1 reply
  • 1999 views

hi  on a x64 windows x64 CF 8 server when I try to use cfobject  for test code it gives an error

the code is

<cfobject action="connect"  type = "COM"  class = "Microsoft.XMLDOM"  name = "XMLDoc">

at the first run  the error message  is :

c:\ColdFusion8\jintegra\bin\ntvinv.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

at the second run and after  error change as :

An exception occurred when instantiating a COM object.
The cause of this exception was that: java.lang.RuntimeException: Can not use native code: Initialisation failed.

I saw a bug report

http://www.elliottsprehn.com/cfbugs/bugs/80973

but it was 2009. is there any solution

    This topic has been closed for replies.

    1 reply

    Inspiring
    February 2, 2011

    Did you vote for the issue?  "Squeaky wheels" etc...

    But CF still does not support COM on 64-bit, as far as I know.

    So the only solutions I can think of are:

    * roll back to a 32-bit CF install.  Bleah

    * use a Java-based XML parser instead.

    --

    Adam

    ANDUINAuthor
    Participant
    February 3, 2011

    yep I vote bug report.

    the biggest disappointment for me. I thought it was solved within 3 years by the  Adobe.

    Participating Frequently
    February 3, 2011

    I don't think this has anything to do with Adobe. It's an

    architectural issue on all major OS and the problem comes from that

    fact that 32bit libraries cannot be loaded into a process that has an

    64bit address space. Period.

    --

    Mack