07-21-2020, 04:15 PM
I failed to read with correct native language characters a binary value in a REG_BINARY registry entry. Any advice is mostly welcome. Here is the code :
Function tempf08
Function tempf08
str sval snam s svalm
str skey
skey.from("Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavePidlMRU\" "*")
snam="MRUlistEx"
int i
i=rget(svalm snam skey 0 "" REG_BINARY)
out i
int ib=0
byte b
b=svalm[ib]
s=b
out s
i=rget(sval s skey 0 "" REG_BINARY)
out i
sval.ansi
out sval