Skip to content

Use FFI to avoid erroneous native code #4

Description

The node-ffi module provides a managed wrapper around native DLLs.
All you need to do is to define types of functions, and then you don't have to deal with errors in calculating string sizes for malloc and what not.
All of that is taken care for you by node-ffi, a more battle-tested library.

There is also the non-maintained but already existing registry module windows-registry that does exactly this.

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