Duane-
Well, if you have CF8 installed along with the .NET stuff, it should be
as easy as:
objHash =
createObject(".net","MyNamespace.Hash","#expandPath("/path/to/dll/")#Hash.dll");
variables.HashedValue = objHash.hash("blah","sha256");
The thing that threw me at first was the MyNamespace thing and not a
"Namespace Blah... End Namespace" in your class file. Rather, in your
..NET project, you have a 'Root Namespace' setting under the application
properties. In my case, I just used the name of my company. However, it
doesn't work the same way as CF uses folders as namespaces. You still
need to point to the path of the DLL.
Hope this helps!
Ryan
*Ryan J. Heldt*
/Senior Web Developer/
Global Reach Internet Productions
http://www.globalreach.com
Phone: 515-296-0792, Fax: 515-296-3748
Duane Boudreau wrote:
> Hey All,
>
> Where can I find some info on what is required to integrate CFML and .Net
> apps?
>
> Basically I have a bunch of precompiled .Net classes that I am going to need
> to access. Any suggestions on where I can start to look for more info. I
> looked at adobe but either I looked for the wrong thing or there isn't much
> information there on the subject.
>
> Thanks,
> Duane
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310251
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4