binary to string

Please discuss general Delphi programming topics here.

binary to string

Postby zero » February 23rd, 2004, 12:13 pm

Hello. Could anybody tell me how can i convert a binary value into a string, into text? I'm thinking of binary values like the ones found in the registry, something that looks like 37 39 23 04 13 00.
zero
Active Member
Active Member
 
Posts: 5
Joined: September 16th, 2003, 3:33 pm

Postby Johnny_Bit » February 23rd, 2004, 1:52 pm

lol... those entries are in hex!!! besides, you can always read it as array on byte or array of char
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am

Postby zero » March 10th, 2004, 1:36 pm

Yeah... Sorry about that, I'm kinda new to programming. I wasn't clear what is what and the "reg binary value" name confused me. Anyway, I found a pretty good manual on the net, and now at least I know what a hexadecimal number is and how it "works".

Now I have another problem. How could I assign an onclick event to a button created during runtime on another window, like the taskbar. I have a procedure that should be executed when that button is clicked.
Thanks.
zero
Active Member
Active Member
 
Posts: 5
Joined: September 16th, 2003, 3:33 pm

Postby zero » March 19th, 2004, 1:28 pm

never mind. I have figured it out.
zero
Active Member
Active Member
 
Posts: 5
Joined: September 16th, 2003, 3:33 pm


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 10 guests

cron