Skip to content

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

@erikvalkering-seequent

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, '');

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