LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to access third party DLL with CVI

I want to call functions in a DLL (created by someone else using VB) from my CVI app. The DLL is well documented so I know what all of the functions (methods) are and required parameters.
I have created and used CVI DLLs but how do I go about accessing the functions in this 3rd party dll.
I assume that I need to create a header file to define the functions since there is no DLL library file, but how do I tell CVI where to go looking for these functions and how do I include the calls in my code.

is there some example code somewhere?
0 Kudos
Message 1 of 2
(3,007 Views)
Please follow the links below which are discussing this issue in more detail.

http://forums.ni.com/ni/board/message?board.id=180&message.id=698&requireLogin=False

http://digital.ni.com/public.nsf/websearch/AA35D259FD350D3E8625699F0059C641?OpenDocument

http://zone.ni.com/devzone/conceptd.nsf/webmain/1d0c73348d50de5486256faf00614757

In addition to that you can find a sample project which demonstrates the usage of a 32-bit dll (generated with CVI, but the principle is the same) under \cvixx\samples\dll\basic\usecvidll.prj

Kind Regards
Heinrich Illig
Applications Engineering
National Instruments Germany
0 Kudos
Message 2 of 2
(3,003 Views)