reg doesn't support octal input and treats it as decimal (Except on XP and maybe 2k) On 10/08/2015 03:11 PM, Stefan Dösinger wrote: > 1) Improve REG_DWORD. Though why again do you need the manual 0 / 0x / > 0X detection? It seems that strtolW should be able to do that as well. > (Jonathan explained it to me once, but I forgot).