Hi guys,
Bitwise operations in Autoit is possible only till 32 bit integers, but sometimes WinAPI requires to process 64 bit vectors... so?
So you can use this little UDF to handle properly those integers!
Func _BitAND64($iValue1, $iValue2)
If Not ((VarGetType($iValue1) = "Int64") Or (VarGetType($iValue2) = "Int64")) Then Return BitAND($iValue1, $iValue2)
$iValue1 = __DecToBin64($iValue1)
$iValue2 = __DecToBin64($iValue2)
Local $aValueANDed[64], $i
For $i = 0 To 63
$aValueANDed[$i] = ($iValue1[$i] And $iValue2[$i]) ? 1 : 0
Next
Return __BinTo