There are problems with COM with MX. Download and install the updater for
MX, they have corrected some of the problems with COM. See if that works for
you.

============================================
Bryan F. Hogan
Director of Internet Development
Macromedia Certified ColdFusion MX Developer
Digital Bay Media, Inc.
1-877-72DIGITAL
============================================

-----Original Message-----
From: Dale Coyner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 2:04 PM
To: CF-Talk
Subject: COM Object Instantiation Problem



Hi folks,

It's been a while since I've changed CF versions - I am migrating an app
from CF4 to CFMX for JRun.  Things have gone pretty well so far with the
exception of one place in my code where I call a COM object.

Here's my object tag:

<CFOBJECT TYPE="COM" ACTION="Create" NAME="PPServer"
CLASS="PurePage.PPServer">

Here is my result:

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.


This worked fine in CF4 and it appears that the parameters for CFOBJECT
are unchanged.  Anyone else having migration issues with CFOBJECT?  Any
workarounds or anticipated fixes?  Many thanks in advance.


Regards,

Dale Coyner
Communicast, Inc.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to