Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8247829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T22:59:13+00:00 2026-06-07T22:59:13+00:00

I created a native addon for node, a 64bit dll, compiled with the /clr

  • 0

I created a native addon for node, a 64bit dll, compiled with the /clr flag to access another .net dll.

All works nicely on my development box (Windows 7, 64bit), but when copying the whole directory over to a server box (Windows Server 2008 R2, 64bit, .net 4.0 Client Profile & Extended installed), a

var myaddon = require('./build/Release/myaddon');

yields the following error:

module.js:485
  process.dlopen(filename, module.exports);
          ^
Error: The specified module could not be found.
C:\Users\x\build\Release\myaddon.node
    at Object.Module._extensions..node (module.js:485:11)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)

I know it successfully finds the file ‘myaddon.node’, because when I change the require statement slightly to point to a non-existing file, it will complain with a different error message.

Without my require statement, node starts up fine.

Why the error and how to fix it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T22:59:15+00:00Added an answer on June 7, 2026 at 10:59 pm

    After starting a plugin from scratch for debugging purposes without /clr – which worked fine – I figured it out.

    • Setting the ‘/clr’ flag forces you to change ‘/MT’ (static linking of runtime libs) to ‘/MD’ (dynamic linking of rt libs)
    • dynamic linking means the C++ dlls need to be installed on the target machine

    In my case that meant installing Microsoft Visual C++ 2010 SP1 Redistributable Package (x64) on the server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to access an array that is created and updated in the native
I use Unmanaged Exports to create a native .dll from .NET .dll so I
I have created a native application. It works without questions under Win XP and
I'm trying to access a particular native Windows API call from within a node.js
I have a C# winapp. I call a native .dll file (created in C++
I created a .net C++ dll, which I then converted to a tlb file
I've created an XPCOM DLL in CPP using Gecko/XULRunner v12 (which works on v12),
I created a native Android app that basically hosts a webView control. That webView
I've inherited a small project. The person before me created a native app for
I want to create a native (c++) module for node.js which is able to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.