On 2020-01-07 00:11, WFB wrote: > Hi Todd, > > I think RegQueryValueExW is not the best choice for this to get the job > done. Back in the $work with a Windows box, I looked around and found > the RegGetValueW method: > https://docs.microsoft.com/en-us/windows/win32/api/winreg/nf-winreg-reggetvaluew > > This method accept a type. No need to use an array with fixed size for > the return data. > > Greetings > Wolf Hi W, I will check it out. Thank you! I have conquered RegQueryValueExW, so that should not be too hard. I am currently working on RegSetValueExW, which is about to kill me with their little endian data! Shift and mask! Never give up! -TThread Previous