LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the proper procedure for using mutilple includes (*.h) with a dll?

When creating a dll via the Tools -> Import -> Shared Library (dll) option.  I discovered that you can only select one header file (*.h).  I decided to concatenate the two files that were required for my dll to recognize all the enclosed functions.  Is this standard procedure when trying to include multiple files?

 

Regards,

 

SS 



0 Kudos
Message 1 of 3
(2,580 Views)
Just a shot in the dark but could you create a new hearder file with #include the other headers (.h)

Message Edited by falkpl on 04-07-2008 10:57 AM
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 3
(2,571 Views)
falkpl,
 
I tried this several times and could not get the functions from the *.dll to be recognized.  I finally settled on quotes around the file names.
 
So if you have two headers al.h and alc.h, you can create a third file named al_alc.h  which contains the following text.
 
#include "al.h"
#include "alc.h"
 
This should work provided you specify the correct location for the include paths.
 
Regards,
 
SS
 
 


0 Kudos
Message 3 of 3
(2,539 Views)