⎕USING,←⊂'' hkcu←Microsoft.Win32.Registry.CurrentUser key←hkcu.CreateSubKey'Software\Foo\Bar' key.SetValue'Data'(1 2 3 4)Microsoft.Win32.RegistryValueKind.Binarybut I get this:
EXCEPTION: The type of the value object did not match the specified RegistryValueKind or the object could not be properly converted. key.SetValue'Data'(1 2 3 4)Microsoft.Win32.RegistryValueKind.Binary ∧As far as I understand, the array I am passing is not considered as a byte array. And, as far as I understand, there is an issue with creating byte arrays: https://forums.dyalog.com/viewtopic.php?f=18&t=172
Are there any other hints on how to write binary Windows registry values, maybe?