You are calling the methods RegRead() or RegWrite() on an unrecognized root registry key.

This error generally occurs when using the RegRead or RegWrite methods with an invalid registry key.

To correct this error

  • Check the Windows registry and make sure the registry key exists and is spelled correctly.

See Also