this might help https://github.com/node-ffi/node-ffi 
<https://github.com/node-ffi/node-ffi>

Good luck!

> On 03 Mar 2016, at 12:01, Axel Kittenberger <[email protected]> wrote:
> 
> The classic way is to write an addon/extension module that provides wrappers 
> for the dll/.so.
> See: https://nodejs.org/api/addons.html <https://nodejs.org/api/addons.html>
> 
> On Wed, Mar 2, 2016 at 8:00 PM, late close <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi ,there
> I am trying to call a c++ function in a DLL or so(linux version), I only got 
> header file,
> How do I write a C++ addon to call any c++ function.
> Thanks
> 
> 
> -- 
> Job board: http://jobs.nodejs.org/ <http://jobs.nodejs.org/>
> New group rules: 
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md 
> <https://gist.github.com/othiym23/9886289#file-moderation-policy-md>
> Old group rules: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines 
> <https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/nodejs/30dd2b0d-44c8-4549-99e7-6d48bb482cb2%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/nodejs/30dd2b0d-44c8-4549-99e7-6d48bb482cb2%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> 
> -- 
> Job board: http://jobs.nodejs.org/ <http://jobs.nodejs.org/>
> New group rules: 
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md 
> <https://gist.github.com/othiym23/9886289#file-moderation-policy-md>
> Old group rules: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines 
> <https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/nodejs/CABg07ftg4ta%2Boz9FJq4gEfJLrzXpRuaHkkFK61_QTn-6xt-Asg%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/nodejs/CABg07ftg4ta%2Boz9FJq4gEfJLrzXpRuaHkkFK61_QTn-6xt-Asg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/914C59A9-BE44-418D-844D-BBEF8B5FBDD9%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to