LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview 8.5 can't import dll functions

I am trying to import a dll into LV 8.5 but I can't seem to get it to work. The dll is provided by Opal Kelly which is the company that makes the FPGA protoyping board I am using.

 

After hitting next on "Configure include paths and preprocessor definitions" (I have _WIN32 in the preprocessor definition), I get this message, "The Import Shared Library tool cannot get exported function names from the input shared library file. Please check the input shared library file whether it contains functions. "  The frustrating thing is that I have no problem at all importnig this dll into either LV 2009 or LV 2010 (64 bit). I don't know why I get this problem in 8.5. 

 

I would really appreciate your help! I attahced the dll as well as its header file. 

0 Kudos
Message 1 of 5
(3,201 Views)

Since you can import it with LV 2009 have you tried back-saving the VIs to 8.5 from LV 2009? You can simply create a new VI, drag and drop all of the VIs onto the block diagram, and save that VI for a previous version.

0 Kudos
Message 2 of 5
(3,188 Views)

I realize I'm late to the party, but I'm having a similar issue.

 

I'm using LabWindows/CVI v 8.5

 

I have created the worlds 2nd simplest GUI, a quit button, a switch, and an LED that reflects the status of the switch.  This works fine.

 

When I include the ikFrontPanelDLL.h file (and that's all), the thing refuses to compile.  It appears to be choking on a "bool"

 

I have had the GUI creater create a winmain, and I have gone into my options and made sure the settings are VisualC++.

 

Any clues?  I can include coede and projects if necessary.

Download All
0 Kudos
Message 3 of 5
(3,017 Views)

tomii wrote:

I'm using LabWindows/CVI v 8.5


This is the LabVIEW forum, did you mean to post in the LabWindows/CVI forum?

0 Kudos
Message 4 of 5
(3,012 Views)

D'oh.

 

Yes.

0 Kudos
Message 5 of 5
(3,010 Views)