LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL question

I am trying to create a function panel for my libraries which contains multiple .c and .h files. Is there any way so that I can include all my .h and .c into one package (.dll, .lib and .h?
Do I need to include all.h files when I use new created dll?
Here is my scenario:
file1.c has file1.h header file.
file2.c has file2.h header file.
and so on.
Once I create dll it will be: new.dll and new.lib and new.h. which gives me error for other .h files. "could not find file2.h"...and so on .
Any suggestion would be appreciated.
Thank you very much in advance.
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 1 of 2
(2,639 Views)
Each FP file can only have one source and header file associated with it, so you can't create one FP file for it. You can compile all the C files and H files in to one DLL and have a new separate header file that specifies the exports, but you would need to combine the C files into one to create function panels for the functions. You could leave the headers separate and just #include them in the FP header.

Best Regards,

Chris Matthews
National Instruments
Message 2 of 2
(2,639 Views)