Skip to content

Empty string is returned for values longer than 512 characters #31

Description

@erikvalkering-seequent

It seems that the limit is hard-coded to 512. I have a registry value with more than 512 characters.

For example, the following code fragment would fail if the value is longer then the currently supported limit:

const value = vsWinReg.GetStringRegKey('HKEY_LOCAL_MACHINE', 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion', 'ProgramFilesPath');
assert.notStrictEqual(value, '');

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions