10-30-2012 11:32 AM
I am using Labwindows 8.1
I have a small project that needs a DLL and Object file Library called BTI1553. I add both the BTI1553.DLL and BTI1553.LIB into my library folder in my project. In the include paths Enviornment I have setup the path to the library folder. I added both files to the Project. When I go to build the project a popup error comes up saying:
"The appication has failed to start because BTI1553.dll was not found. Re-Installing the application may fix theis problem".
I removed and then re-installed the DLL and LIB files, but I still get the same error.
What am I doing wrong?
Thanks!
John W.
10-30-2012 06:13 PM
Executables search for DLLs in specific folders, listed in this page: either move your dll to one of the folders listed there or add your folder to the path environment variable.
10-31-2012 06:44 AM
Thanks for the response.
I do have the library folder that contains the DLL in the Environment Include Paths:
c:\WORKINGDATA\5798 AUTOMATED TEST SYSTEM\Lib contains the DLL and is part of the Enviornment path list.
This project was added to another computer. The project builds and works fine on the original computer. All Include paths are the same when looking at the project on both computers, but the new one flags the DLL errors.
Thanks
John W.
11-01-2012 09:14 PM
I just want to confirm that you have added the include path to the PATH environment variable for both computers. These settings are specific to the CVI environment and are not transferred with the project. Do you still receive those errors when you include the DLL in the same folder as your executeable?