Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
rget command with reg_binary as type
#6
Code:
Copy      Help
str s
out rget(s "Toolbar12" "Software\GinDi\QM2\toolbars" 0 "" REG_BINARY)
outb s 16 1

To display binary data, I use function outb. Here it is:
Code:
Copy      Help
;/
function !*ptr nBytes [outchar]

out _s.encrypt(8 _s.fromn(ptr nBytes) "" 1)
if(outchar)
,str s.all(nBytes*3 2 32)
,int i c
,for(i 0 nBytes)
,,c=ptr[i]
,,if(c<32) continue
,,s[i*3+1]=c
,out s


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)