LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview fails to call dll after Migration from 2010 to 2014

An error  'Failed to load dynamic library because of missing external symbols or dependencies or because of invalid file format' occures everytime the labview framework tries to call dll. Has anybody come across this problem before.???

0 Kudos
Message 1 of 6
(3,217 Views)

I assume that this happens with a specific DLL. Is it possible that you talking about a .NET ASSEMBLY?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 6
(3,192 Views)

Yes. It is happening with a specific dll. But this dll consists of APIs which correspond to a proprietory protocol. It has no relation with .NET ASSEMBLY. Its writen in VC++

0 Kudos
Message 3 of 6
(3,184 Views)

@priyanka0101 wrote:

[...] But this dll consists of APIs which [...]


This sounds as if the DLL requires some other components, most likely other DLLs. Is it possible that these are not installed on the target machine?

Do you run LV 2010 and 2014 in parallel on the same machine for checking?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 6
(3,175 Views)

No. I have uninstalled LV2010 and then installed LV2014. And other DLLs which are required for this DLL are already included in the project. 

0 Kudos
Message 5 of 6
(3,146 Views)

Including DLLs into the project is not sufficient. You have to make sure that the DLLs can be loaded.

Please see MSDN for search orders for DLLs.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 6 of 6
(3,134 Views)