01-20-2015 02:00 AM
Hello,
I want to specify where my app will look for windows dll.
I have found this article:
http://digital.ni.com/public.nsf/allkb/862567530005F09C862565C50068363D
But I cant add path like that: <Windows>\System32
And thats problem because system can be installed on diffrent disks.
I could make builder to copy desired dll to its data directory but this causes my application to crash..
Solved! Go to Solution.
01-20-2015 02:46 AM - edited 01-20-2015 02:46 AM
If your DLL is located in the <Windows> or <System> directory just configure the Library Path in the Call Library Node to only specify the DLL name without any path. This will make LabVIEW call the Windows API LoadLibrary() with that name only and Windows will search for that DLL in those places with whatever are the correct paths for the current system.
01-20-2015 04:56 AM
Good to know it works that way.
Thanks for help 🙂