11-30-2011 03:23 PM - edited 11-30-2011 03:25 PM
LV2011 XP SP3
I have created a LabVIEW executable using a 3rd party lvlib VIs. (The VIs in this lvlib are only stdcall (WINAPI) CLFs. )
After installing the 2011 LV RTE on the target PC, I copied over the .exe and the necessary support files. When I try to run the executable I get the following errors for every VI used from the 3rd party lvlib:
LabVIEW: Resource not found.
An error occurred loading VI 'thirdParty.lvlib:any.vi'. LabVIEW load error code 3: Could not load front panel.
This 3rd party lvlib is included in the application builder under Dependencies. Also, none of the VIs want to have their front panels opened. (They have default Window Appearance properties.) I have also installed the thirdParty.lvlib on the target PC in the same directory structure that the Application Builder uses. (It is interesting that the DLL is found that support the CLFs in the 3rd party lvlib VIs.)
Any thoughts?
Solved! Go to Solution.
11-30-2011 05:19 PM
The VIs that are used from the library would automatically be included in the executable, so there is no need to install the library on the target PC. It sounds to me like you may have a missing dependency for the DLL. Perhaps the DLL requires another DLL? Where is the DLL being placed?
11-30-2011 05:39 PM
It could be that your 3rd party VIs have become corrupted. Can you open the individual VIs in the lvlib? Do they give Error 3 when you try opening them? You may consider getting a new copy of the lvlib and replacing the one that keeps throwing the error.
Tim W.
Applications Engineering
National Instruments
12-01-2011 07:18 AM
I don't believe the dll is corrupted since it is the same dll I can still develope with. Ultimately I installed some additional support files for the 3rd party software and the error messages went away. It appears the dll specified in the CLFs may have been pointing to another dll that was not in the system. I will have to make the 3rd party software as part of the .exe load. Thanks for the help.