03-09-2023 08:18 AM
Hello!
Let's say I have a LV lib with VI, based on a DLL that's in the lib folder. When creating an application I would include the DLL, unless the app builder already does that automatically. The path to the DLL would then change, because it would be placed in the installation folder of the application.
So the question is, will the app builder replace the paths in the DLL calls by a relative one automatically when building the app?
Solved! Go to Solution.
03-09-2023 08:35 AM
That depends on whether you specify the library path on the block diagram or in the call library node. In the former case they are automatically included, in the latter case you have manual work to do. See this KB article. Maybe also this one.
If your libraries depend on other libraries, you will have to include those manually or make sure they are in the PATH of the target system. (e.g. system libraries or driver installers)
03-09-2023 10:18 AM
Ok, the solution is actually not to worry at all, because if I put the DLL(s) next to the EXE, it will find them.
Thanks for pointing me.
P. S. "That depends on whether you specify the library path on the block diagram or in the call library node" -> as far as I know, you can specify the DLL path only in the call librarby node settings.
03-09-2023 11:19 AM
By default, yes. But there is also this option:
03-10-2023 02:36 AM
Oh! Didn't notice that one.
03-10-2023 03:55 AM - edited 03-10-2023 03:56 AM
@cordm wrote:
That depends on whether you specify the library path on the block diagram or in the call library node. In the former case they are automatically included, in the latter case you have manual work to do. See this KB article. Maybe also this one.
I think you somehow mixed that up. You first mention the block diagram path and then the Call Library Node configuration. Then you go on to talk about the "former". Maybe in English "former" in such a context means the last option, I interpret it to mean the first option. If my interpretation is used, your statement seems wrong.
03-10-2023 03:56 AM - edited 03-10-2023 03:57 AM
Duplicate post after Editing the original post.
03-10-2023 04:37 AM
You are right, it is the other way around.
So configured in CLN: automatically included, path on block diagram: must include manually.