DevOTechS Forums
November 24, 2024, 06:23:58 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: DevOTechS forums
 
  Home Help Search Calendar Login Register  
  Show Posts
Pages: [1]
1  HIME / General HIME discussions / Huge Format "hi_bin" 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....



Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!