07-18-2019 06:42 AM
Trying to build an executable, but I seem to have an issue with a Windows .dll. I've tried adding a copy to the source directory, and adding it to the project file, but it still has a permission error as it is going to the Windows path to attempt to copy. Moving the project to a network drive didn't help either.
Solved! Go to Solution.
07-18-2019 08:37 AM
Hmm.. abstracting the .dll path fixed it. The .vi with the problem is a NI Verified example I found here: https://forums.ni.com/t5/Example-Programs/Using-Windows-DLL-s-to-get-User-s-Name-Using-LabVIEW/ta-p/...
07-18-2019 10:40 AM - edited 07-18-2019 10:42 AM
I believe that using an explicit path will cause LabVIEW to attempt to copy said dll to the data folder, but using relative paths (or even just the dll name itself, if it's been registered), it won't.