Solution
With every LabVIEW executable you build, a corresponding .ini configuration file titled [Application Name].ini is created.
This .ini file stores all the preference information for the executable. You can add the following token in the .ini file for your executable to set additional search paths:
viSearchPath=""
Note that the .ini file must also have a section header with the application name in it (e.g. [Application Name]
). The following is an example entry for an .ini file created for an application titled MyApplication.exe
:
[MyApplication]
viSearchPath="C:\Documents and Settings\Desktop\dll2\LabVIEW_code_and_DLL\*"
If you wish to add multiple search paths, the additional paths can be separated by using a semicolon. For example:
viSearchPath="<path 1>;<path 2>;<path 3>"