The following line of Kix code does not work on three independent systems here (2 Windows 2000 SP2, 1 Windows NT4 SP6)

? writevalue("HKEY_CURRENT_USER\Software\Linder\TestKey","TestValue","xxxxx","REG_SZ")

Simple enough, isn't it? I get an error code of 2 (file not found). To eliminate the possibility of typos and access privileges problems I set the same key using the following reg file:

REGEDIT4

[HKEY_CURRENT_USER\Software\Linder\TestKey]
"TestValue"="xxxxx"

This succeeds. And now I can use the kix code as well, which is successful, as long as I do not attempt to create another subkey. I may, however, add as many values to an existing key as I wish.

Is anyone else able to confirm this problem?

Thanks,

Armin Linder