RegSetBin and Setting a Hex(7) Value
Keywords: hex7
Question:
I'm trying to set a binary value in the registry on NT using RegSetBin.When I export the portion of the registry I've changed to a REG file, the file indicates the value is of type "hex", but what I really want is a value of type "hex7".
What function do I use to set this value?
Answer:
Regsetex with type 7 does the job. For example this line sets it correctly.g=strcat("SYSTEM\CurrentControlSet\Services\", d,"\Parameters\Tcpip","[IPAddress]") RegSetEx(@REGMACHINE, g, IP, @TAB, 7)
Article ID: W14393Filename: RegSetBin and Hex7 Value.txt