>> You have to register the DLL as a cfx custom tag in the
>> ColdFusion Adminsitrator.
>>
>> In CF 5 it's in the left-side menu under Server >
>> Extensions
>> > CFX Tags
>>
>> Then press the button labelled "register c++ cfx",
>> provide a
>> name for the tag in the form on the following page, enter
>> the
>> path to the dll and press the "submit changes" button.
>>
>> At that point, you make your library calls with the tag
>> name
>> you registered, i.e. <cfx_mylibrary ...> I'm not certain,
>> but
>> I think the dll has to comply to COM for this to work --
>> which is unfortunate since MS has recently deprecated COM
>> in
>> favor of dot-net.

> I'm not at all sure but I thought you had to link the CFX
> libraries to
> the DLL for it to work in this way.  Never tried it tho'
> so I could be
> wrong.  Real programming makes my brain hurt.  ;^)

> If it does work with any DLL please consider posting the
> success (or
> failure) story to the list. I'd be interested in hearing
> it.

Yea, I've only ever done it with DLL's which were intended to be used as cfx
tags, but linking the "cfx library" to the dll is what the cf admin step is
for. But since I've never tried it with any other kind of dll and I've never
written COM in C++ myself, I can't really say much about it beyond the cf
admin. :) But my suspicion is it has to be a dll specifically written for
COM.

s. isaac dealey                954-776-0046

new epoch                      http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to