02-08-2012 10:52 AM
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 ...
Solved! Go to Solution.
02-08-2012 01:51 PM
You will need the cvirt.lib included in your project to resolve this symbol.
02-08-2012 06:23 PM
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.
02-09-2012 09:28 AM
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/