LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dll

Hi,

 

I am New in this forum and i need help. I just start in labview and i tried to modify the wrapper libpcap.dll to add New functions. I used visual studio and i succeed to create my dll. 

My dll project include:

Libcap.cpp refered to pcap.h and extcode.h

And dllmain.cpp refered to windows.h

When i import the dll in labview labview software Ask me to define the header path. I have 3 .h so 3 headers ans labview enable me to include just one. Which is the good process ? If i put on just one header dll functions dont work.

 

Thanks you,

 

Sebastien

 

0 Kudos
Message 1 of 2
(1,188 Views)

If you're using the import shared library tool, the first header file is the one that defines your dll's exported functions.

 

The next window allows you to add include paths which is where you would point to any header files that are referenced (if your dll's header has #include <extcode.h> the includes path would include the path to that header).

Matt J | National Instruments | CLA
Message 2 of 2
(1,132 Views)