I'm having a problem with a DLL built in LabVIEW Application Builder (7.1). I'm using an Invoke Node to call another VI but get error 7 using the DLL when the VI is not present on the system.
Let's refer to the NI example
2JJFDDJT because it is simple. I download the 3 files related to the Invoke Node example. I set the "default data" for the VI path control to the absolute path of SubVI.vi. Now:
1a. I build the executable as per downloaded build file. It runs fine.
1b. I delete SubVI.vi and my executable runs fine.
2a. I use the same build file, but change it to build a DLL. I write
another VI (test_dll.vi) to call my DLL
2b. test_dll.vi executes as expected
2c. I delete SubVI.vi and now test_dll.vi throws up an Error 7 - SubVI.vi not found. But surely this should be within the DLL as it was in the Executable?
What am I doing wrong?
Thanks!
Andrew.