Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

BinaryToString for registry values

$
0
0

BinaryToString(ReagRead(...),2) works fine for REG_BINARY - most of the time.

 

(the flag 2 means the reg value is in format UTF16 Little Endian)

 

sometimes it fails and returns empty string.

 

attached 2 example screenshots, the "OK" one is converted successfully by BinaryToString, the "failing" one returns empty string.

 

BinaryValueOK.jpg

 

BinaryValueFailing.jpg

 

to my best conclusion, it fails when the reg value contains special characters, as you can see by the screensnots. i can't imagine any other difference.

 

thanks for any ideas,

Or

 

 

 

 

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>