LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate import libraries for third party dLL

I want to include the nonlinear fitting module in the labwindows software. And I have got the dll file and it's header. 

 

I have some difficulties to generate the import library. Is there anyone can help me. 

 

I have attached the files. They can also be found in the following link.

 

https://nlopt.readthedocs.io/en/latest/NLopt_on_Windows/

Download All
0 Kudos
Message 1 of 6
(3,214 Views)

What did you try? What didn't work?

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 6
(3,072 Views)

The fact is I don't know how to generate the library in labwindows

0 Kudos
Message 3 of 6
(3,066 Views)

It's described in the help in LabWindows/CVI. http://zone.ni.com/reference/en-XX/help/370051AG-01/cvi/programmerref/generatingimportlib/

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 6
(3,060 Views)

Thanks for your reply. 

 

However, I haven't generate the desired .lib file. I have attached the files. Could you please have a look?

 

Best, 

 

 

0 Kudos
Message 5 of 6
(3,018 Views)

Give the same name to your .h and .dll. Open the .h, [Tools][Generate Import Library], add the result to your project, add the include to your .c, use the functions from the dll and that's the gist of it.

0 Kudos
Message 6 of 6
(2,375 Views)