#193932 - 2009-05-19 03:21 PM
Re: Convert REG_BINARY data to ASCII
[Re: Arend_]
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Well, you are picking up the "00" characters and adding them to your string. Now, KiXtart is very forgiving and for the most part ignores the Chr(0) when you append it so every thing looks OK. It's not correct, but it works by accident of the language. If you were using another coding language you would get very different results.
Secondly, when I run it I get garbage characters in among the strings on my machine. What are these? They are the non-string data which is present in the binary object.
Attachments
 Description:
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 2220 anonymous users online.
|
|
|