Stefan,

First guess would be 64bit vs. 32 bit. Have you matched the correct
"version" of the COM?

-Mark


Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com


-----Original Message-----
From: Stefan Richter [mailto:ste...@flashcomguru.com] 
Sent: Monday, April 18, 2011 9:38 AM
To: cf-talk
Subject: Creating COM object - troubleshooting


Hi all,
I'm trying to use a third party DLL called ACA Webthumb
http://www.acasystems.com/en/web-thumb-activex/
I've installed this on a Windows 2008 server running CF 9.0.1

I'm having issue instantiating the library in CF. I'm using the supplied
sample file that came with ACA. Here's the problematic line from it:

WebThumbMaker = CreateObject("Com", "ACAWebThumb.ThumbMaker", "local");

This results in error:
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 also tried using a tag based syntax specifying the DLL directly:
<cfobject type=".NET" name="aca" class="ACAWebThumb.ThumbMaker"
assembly="C:\Program Files (x86)\ACASystems\ACA WebThumb ActiveX
Control\acawebthumb.dll">

Error:
Class ACAWebThumb.ThumbMaker not found in the specified assembly list.
The assembly that contains the class must be provided to the assembly
attribute. 


Does anyone have any tips?

Best wishes,

Stefan











~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343808
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to