LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to specify "other" locations for dll

in developing an application (which utilizes a dll) I find myself continually rebuilding the dll & having to manually copy the three necessary files ie., *.cdb, *.lib, & *.dll over to the test application directory. Is there any way to automate this? In the LW/CVI "Build/Target Settings" options, there is a ring control that allows one to specify 1 of 4 locations for where to copy the dll, but none of them allows one to specify a custom path. I keep thinking there must be a way to do this, but so far I haven't found it. Thanks in advance for your help!
0 Kudos
Message 1 of 4
(3,393 Views)
Hi I am not very confident about my answer but let me answer this.
I think you don't need .cdb file to use lib and dll.
Once you specify dll path (under target settings) lib and h fill will also be copied to same location.

Sheetal
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 2 of 4
(3,387 Views)
If you need the output files in the test application directory and not in the source directory, from the project window go to Build >> Target Settings, and specify the full path to the test application in the DLL File box. Don't use the Where to copy DLL list.
As Sheetal says, the .LIB and .CDB files will be created in the same directory you selected for the DLL file.
0 Kudos
Message 3 of 4
(3,372 Views)
yes, I was trying to use "Where to Copy DLL to" out of the Target Settings dialog box. Once I specified my test directory in the "DLL file" text box, things started working better. I now don't have to do so many copy & pastes 🙂

Thanks to both of you and also everyone else who graciously provides help on this board. It has really saved me some development time in trying to get up the the LW/CVI learning curve quickly!
0 Kudos
Message 4 of 4
(3,367 Views)