OK, A friend of mine needs help writing to registry... this is what he wants to write:


[HKEY_LOCAL_MACHINE\SOFTWARE\abc\xyz]

"bindform"="\"BICNDISSys\" yes no container"
"class"=hex(7):42,49,43,4e,44,49,53,44,72,69,76,65,72,20,62,61,73,69,63,00,00
"bindable"=hex(7):42,49,43,4e,44,49,53,44,72,69,76,65,72,20,42,49,43,4e,44,49,\
53,41,64,61,70,74,65,72,20,6e,6f,6e,20,65,78,63,6c,75,73,69,76,65,20,31,30,\
30,00,00

"DevConf"=hex:84,00,00,00,84,00,00,00,84,00,00,00,04,00,00,00,6c,00,00,00,18,\
00,00,00,6c,00,00,00,03,00,01,00,08,00,08,00,60,00,00,00,01,00,00,00,1c,00,\
00,00,80,25,00,00,15,20,00,00,00,00,0a,00,0a,00,08,00,00,11,13,00,00,00,00,\
00,06,00,00,00,30,00,00,00,30,00,00,00,30,00,00,00,30,00,00,00,00,00,00,00,\
00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,10,01,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00
I can't make heads or tails of this, but I do know he wanted to write it as binary with the zero values

I need code for this. Any kind soul willing to help me out? There's a pretzel (salted) to be won here.

Ta!