LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Importing Dll in Labwindows

Hi

 

How to import dll in labwindows which is  created in labview.

 

Thank You

0 Kudos
Message 1 of 4
(2,906 Views)

Just add your .h and .lib file to your project. and place .dll file to your project directory.

Include .h file to your file and start using function exported in .h file.

When you create dll from LabVIEW you should have .h, .lib and .dll files.

Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 2 of 4
(2,882 Views)

Hi test_man,

I did that you said but I've got another errors on compilation, as in picture attached.

Dou you know what happens? Can you help me?

 

I made the dll on LV8.6 and callind in CVI 8.1.

 

Tks,

André

 

0 Kudos
Message 3 of 4
(2,591 Views)

Hello -

 

My guess is that you are #include'ing extcode.h after you are including toolbox.h.  Toolbox defines 'Min' 'Max' etc as macros, and the LV header file unfortunately does not check for these defines.  Try moving extcode.h up in the inclusion list to see if that helps.

 

NickB

National Instruments

0 Kudos
Message 4 of 4
(2,555 Views)