11-16-2020 04:50 PM
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
11-17-2020 03:43 PM
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).