LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

cvi_db.h references a library

cvi_db.h references several external functions that appear to be SQL.  What library does it reference and where do I find a copy?

0 Kudos
Message 1 of 7
(1,516 Views)

cvi_db.h actually IS the include file for the SQL toolkit!

This piece of software is included in the full version of the CVI IDE and cannot be purchased separately for the base version of CVI as you can see in this comparison table 

If you have a license for the full edition you should already have the toolkit installed, if not perform a custom setup of CVI to add the toolkit to your present instance of the IDE. If you on the contrary have the base version you cannot use SQL functions by means of this toolkit.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 7
(1,497 Views)

Roberto,

 

cvi_db.h itself is not the issue.  It references stuff that is in an outside library, like DBConnect, DBSetAttribureDefault, and other SQL database functions.  I need to know what library that is and where it is in the NI distribution so that I can attach it to the DLL I'm building.

0 Kudos
Message 3 of 7
(1,488 Views)

If you have installed the CVI SQL toolkit and added it to the project, the IDE will be able to locate all needed libraries both when building the DLL and when creating a distribution.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 7
(1,475 Views)

I'm not working within CVI.  I'm compiling externally in Visual Studio.  Therefore I need to know where the library is to include it.

0 Kudos
Message 5 of 7
(1,472 Views)

Well, I don't know exactly what you are referring to since I do not work with Visual Studio, but the whole SQL toolkit is located in C:\Program Files (x86)\National Instruments\Shared\CVI\Bin and refers to cvi_db.lib which you can find in msvc or msvc64 subfolder. Does this answer your question?



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 6 of 7
(1,461 Views)

I think so.  Thanks.

0 Kudos
Message 7 of 7
(1,450 Views)