Share via


Unable to open registry key <name> for reading.

You are calling the method RegRead() on an unrecognized registry key.

This error generally occurs when using the RegRead method 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

Reference

RegRead Method