LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to integrate third party API and DLL

Dear sir/Madam

 

How can i integrate the third party high level API and DLL into my DLL, project keeping in view that all their functions and their definitions kept hidden. i have tried it but when importing the functions in the DLL and export the high level functions, compiler demands their declarations and prototypes.

Is their a way to hide all these high level functions and still utilize them.

 

thanks, regards

 

 

Zafar

0 Kudos
Message 1 of 2
(2,966 Views)

Hi Matrix39,

 

The compiler will still need the proper prototypes for the functions called in the third party DLL to compile your DLL whether you are using explicit or implicit linking to call the functions.  Declaring these prototypes in your DLL does not mean they will be exported by your DLL.  The functions exported by your DLL can be configured by navigating to Build»Target Settings in CVI.  From here you can configure what functions your DLL exports by clicking the Change... button in the Export section.  There are several options for specifying the functions including using header files and manual export declarations.  See the CVI Help for more information.

Justin D
Applications Engineer
National Instruments
http://www.ni.com/support/
0 Kudos
Message 2 of 2
(2,939 Views)