Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to load shared library mylib.dll

Hi,

I'm running LabView Prefessional development system 8.2. I've created a real-time project to run on a NI CVS 1456.
Some VIs are using a DLL, but when I'm trying to run or deploy the project on the CVS I get the following error message:

Failed to download mynode.vi
LabVIEW: Failed to load shared librarymylib.dll:
myfunction:C on rt target device

I've also tried this with a simple template RT-project which is working, but when I'm adding a simple "hello world"-DLL (which also works when running on my laptop) I get the same error.

Have you guys any idea what the error could be?


Best regards
0 Kudos
Message 1 of 2
(4,427 Views)
Ok, it looks like I solved my problem.

The DLL was compiled in MSVC++ 2005 and when changing the project setting

C/C++ -> Code generation -> Runtime Library

from Multi-threaded DLL (/MD) to Multi-threaded (/MT) the problem was gone.




0 Kudos
Message 2 of 2
(4,417 Views)