ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

calling DLL using LabVIEW 7.1

so, i have this DLL which might be compiled using Visual Studio 2003 or Visual Studio 2005.NET.
 
question is: Can i call DLL functions using LabVIEW 7.1? has anyone tried it and has any issues loading the DLL?
i think i have everything right, as far as the configuration of 'Call Library Function Node' is concerned, but i get the
'error loading DLL - application has failed to start because application config is incorrect'.
 
can you please verify if .NET is not causing me issues? i think DLL assembly should be the same wheather it's VStudio6
or .NET, but can anyone confirm that's not the issue? Thanks...
0 Kudos
Message 1 of 3
(3,377 Views)

Yes.

If you dll is generated by C/C++, using Call Library Function node.

If it is generated by .net, using constructor node.

http://forums.ni.com/ni/board/message?board.id=170&message.id=206959#M206959

0 Kudos
Message 2 of 3
(3,364 Views)

rkpat:

I have successfully loaded dlls into LabVIEW before. Please post again if you run into any snags.

Regards,

Rudi N.

0 Kudos
Message 3 of 3
(3,348 Views)