Hi there. I'm currently working on converting a JS script into CF. Uses a lot 
of COM. Anywhoo, I'm having some problems with the following line of code.

JS Version.

HKLM = 0x80000002;
oInParam.hDefKey = HKLM;

CF Version.

<cfset HKLM = '0x80000002'>
<cfset local.oInParam.hDefKey = HKLM >

I think that the problem is that it doesn't like the fact that HKLM is a string 
in the CF version. And CF wont allow me ( for obvious reasons ) to store this 
as number... nor will it allow me to cast it as an int.

any ideas?






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282449
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to