LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with importing C++ DLL in LabVIEW

Hi All,

 

I have a C++ DLL, When I import it using "Call library function node" The function name option is greyed out means functions which are in that DLL is not accessible. I want to know what could be the reason for this?

I have also checked in DLL checker and came to know that there are no other supported DLL or files needed to import it.

 

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

Do you get a message in the Import Library Wizard? Is this DLL indeed a standard DLL exporting function names, and not rather a .Net assembly? . Net assemblies do normally not export any names that could be accessed with the Call Library Node. Instead you would need to use the .Net functions in LabVIEW to interface to that DLL.

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

Thanks for the Reply.

No I didnot get any messages and it is a standard DLL not .Net assembly.

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

Post that DLL then so we can take a look at it. Another possibility is that it is in fact not exporting any functions at all, though at least a single factory function to create an object should be probably required. All the rest my be simply object methods accessed through the object pointer created in the factory function. But without seeing at least the DLL there is very little to say beyond what I already did, since my magic crystal ball is currently not working. Smiley Very Happy

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