Is there some way you could call CFEXECUTE and call a BAT file or something
like that to run the DLL? Would this be a workaround for calling a COM
object from CF9 or a 32 bit object from CF 64 bit? Or is it not possible or
advisable to do this either?

Brook

-----Original Message-----
From: Stefan Richter [mailto:[email protected]] 
Sent: April-18-11 7:45 AM
To: cf-talk
Subject: Re: Creating COM object - troubleshooting


I should also add that the PHP example works fine on the same box:
$t_xMaker = new COM("ACAWebThumb.ThumbMaker")

Also on the same server I am able to use other (.NET) DDLs, for example in
this way:
<cfobject type=".NET" name="presentation"
class="Aspose.Slides.Pptx.PresentationEx" assembly="#slidesDLL#"> <cfset
presentation.init("#pptFile#")>

Regards,

Stefan







> 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:343819
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to