LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dll loading problem in 7.0

A co-worker develped a very simple dll file that takes two strings (file paths), opens these two files (2D arrays) and then does a comparison and returns an integer value of 1-100. I used a Call Library Function Node and it worked fine on 7.1.  When I do the same thing in 7.0 on a different computer, I get the error below:

Error Loading 2DCompare.DLL

This applicatin has failed to start because the application configuration is incorrect.  Reinstaling the application may fix this problem. 


I honestly have no idea where to start looking for the solution to this problem.   Any ideas? Thanks. 
0 Kudos
Message 1 of 4
(2,555 Views)
I don't remember the specifics for LabVIEW 7, but when I've moved from version to version I've typically had to relink to the DLLs that I called using the Call Library function. Was the DLL written in C or .NET? You should open the VI that has the Call Library function and verify it has the correct path to the DLL. You should also check the calling convention.
0 Kudos
Message 2 of 4
(2,548 Views)
I am placing a new call library node and browsing to find the .dll.  So I am sure the path is correct.  I am using the same convention that works in 7.1 and 6.1 on another computer.  It seems to only be a problem on this computer. I am not sure if it was C or .NET though.  Also, if I place the node, and browse to find the DLL, then click ok, there is no error.  But the error begins once I go in to the configuration and select the function (the correct function does show up in there).  Then the error shows up.  It seems to me that if it is seeing the function then it is loading the .dll file. 
0 Kudos
Message 3 of 4
(2,544 Views)
I did a search on the forums, and does the following thread apply to you?
0 Kudos
Message 4 of 4
(2,538 Views)