help icon indicating copy to clipboard operation
help copied to clipboard

build node.dll

Open bncdemo opened this issue 1 year ago • 5 comments

Details

Hi,

How to build node.dll in windows, and then use that dll to run a given nodejs script? I did not find any information about that.

Thanks.

Node.js version

v18

Example code

No response

Operating system

windows 10

Scope

build native dll in win10

Module and version

Not applicable.

bncdemo avatar Apr 21 '24 16:04 bncdemo

Hi! As it currently stands, your issue may need some more context to be understood correctly. Please provide more context.

Thank you!

avivkeller avatar Apr 21 '24 21:04 avivkeller

Hi! As it currently stands, your issue may need some more context to be understood correctly. Please provide more context.

Thank you!

Hi,

How to build nodejs as a native windows dll, reference it in a project, then call/run a specific nodejs script using this dll?

bncdemo avatar Apr 22 '24 00:04 bncdemo

perhaps you are looking for single executable https://github.com/nexe/nexe

preveen-stack avatar Apr 24 '24 05:04 preveen-stack

perhaps you are looking for single executable https://github.com/nexe/nexe

Can you show me a c++ example , that run a nodejs script using node static library, and read the result of the script?

bncdemo avatar Apr 24 '24 19:04 bncdemo

Nexe coverts .js files into exe files. I guess that is your use case

preveen-stack avatar May 18 '24 07:05 preveen-stack

Unfortunately, your issue didn't seem very clear. If you can provide a clear issue that directly affects Node.js, please open a new issue.

Otherwise, alternative forums may be better.

avivkeller avatar Jun 18 '24 18:06 avivkeller