12-07-2011 04:11 PM
I have an instrument driver in LabVIEW. The driver functions always call a DLL in instr.lib through the call library function. When I compile an exe that uses the driver functions, where should I put that DLL? Would it be ok to compile the DLL into the exe? If it is ok, how does that work, since the driver will look for the DLL in instr.lib? Thanks!
Solved! Go to Solution.
12-07-2011 07:19 PM
12-07-2011 09:12 PM
What I meant by compling the DLL into an EXE is choosing the exe as the distination of the DLL when generating the EXE. When the driver VIs are in development mode, the call libray function reference the instr.lib folder for the DLL. If the DLL's destination is the EXE or the data folder after the exe is generated, would the exe be able to find the DLL? Thanks!
12-07-2011 10:18 PM