What are you trying to do? HKLM sounds to me like a registery key? The other thing is thet 0x8000002 is a hex value.
On 6/28/07, D F <[EMAIL PROTECTED]> wrote: > > 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? > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282450 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4