I have encountered overflow error 6 with this code in VB 6:
step9 = Hex((CLng("&H" & "e753") * clng("&H" & "f010"))Mod (2^16+1))
cipher=step9
Help please!
Printable View
I have encountered overflow error 6 with this code in VB 6:
step9 = Hex((CLng("&H" & "e753") * clng("&H" & "f010"))Mod (2^16+1))
cipher=step9
Help please!
Shouldn't it be Mod (2^16-1)
don't know what you want to do but 59219 * 61456 is too much for a Long