LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

which library defines SaveBitmapToJPEGFile()

Solved!
Go to solution

I'm working on a years-old project which distributes a few of the cvi libraries.  I now need to build in a new feature which was developed by my colleague who is not currently available to help.

 

I'm getting an "unresolved externals" link error for a call to SaveBitmapToJPEGFile().  I have CVI 2010, so I'm guessing the problem is that one of the cvi libraries in the project is old and needs to be updated.  I know that SaveBitmapToJPEGFile() is declared in userint.h, and I have that file updated.  But which *.lib file is it defined in?  (I'm building in MS Visual Studio 6.0, in case that matters.)

 

Thanks in advance ...

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

You will need the cvirt.lib included in your project to resolve this symbol.

National Instruments
0 Kudos
Message 2 of 4
(2,848 Views)

Thanks.  Can you tell me which is the earliest version we can use?  This is a very established (read "old") project, and I want to minimize the possibility of new stuff which may be incompatible with our existing old stuff.

0 Kudos
Message 3 of 4
(2,844 Views)
Solution
Accepted by topic author B.Anderson

You can always find the earliest version that a function was supported in from the bottom of the help documentation for that function. This particular function is supported in CVI 7.1 and later.

http://zone.ni.com/reference/en-XX/help/370051T-01/cvi/uiref/cvisavebitmaptojpegfile/

National Instruments
Message 4 of 4
(2,834 Views)