DevOTechS Forums

HIME => General HIME discussions => Topic started by: Paijo Rx on November 26, 2008, 05:33:48 AM

Title: Huge Format "hi_bin"
Post by: Paijo Rx on November 26, 2008, 05:33:48 AM
i'm newbie in programming.
i was use HIME unit in Delphi 7 to convert Huge Integer to binary number. But when i use the huge format, hi_bin, the result doesn't right convertion.

sample of code that i used:

Hime.PutReg(1, Memo1.Lines.Text, hi_Dec);
Memo3.Lines.Text := Hime.GetReg(1, hi_Bin);

for simple integer like "4" will result right answer :  "00000000000000000000000000000100"
but when the input is big integer like "681625562253729757562" will result wrong answer : "000000000000000000000000001001001111001101110100011101010111011001110111011110000111100101111010"

i use huge integer in my thesis about steganography in gif image.

how to solve that problem...

please help me....

Title: Re: Huge Format "hi_bin"
Post by: Admin on November 26, 2008, 10:16:46 AM
The returned answer is correct. What did you expect it to be ?

Kind regards