01-16-2006 02:00 AM - edited 01-16-2006 02:00 AM
Message Edited by Darren Draper on 01-16-2006 02:03 AM
01-16-2006 03:16 AM
01-16-2006 05:11 AM
06-25-2012 08:15 AM
Hi, I am using CVI 6.0.
I would also like to query my program's version found in Target Settings --> Version Info --> File Version. The sample SDK "verinfo.c" and its project do not compile. Any advice?
Thanks in advance!
06-25-2012 10:36 AM
Hello TurboMetrologist,
which error do you receive while compiling?
I was succesfull both in running the source code from the IDE and in compiling it with CVI 6.0.0 (105) full development system.
06-25-2012 10:44 AM
'Unable to create file "c:\...\MeasurementStudio\CVI\samples\sdk\verinfo\verinfo_dbg.exe" (File access permission denied)'
Is this because I can't see the version.lib file in the folder?
06-25-2012 10:52 AM
Well, "File access permission denied" claims for an authorization problem
. I suggest you double check file attributes in the project directory: it could be that you have downloaded this example from a CD and the read-only attribute has not been cleared.
The library does not reside in the example folder: as you can see by selecting View >> Show full pathnames in the project window, it should be in ....CVI\sdk\lib folder.
06-26-2012 09:30 AM
Turbo,
Roberto is correct. This is probably happening because you installed CVI 6.0 in Windows 7 or Vista, with User Account Control enabled. This is a very old version of CVI that did not support those OSes, and therefore it installed its examples to a non-writable location (C:\Program Files...). This is probably why you do not have write permission to create the .exe in this location. If you copy the CVI examples folder to a different location, you might get around this problem.
Luis
06-27-2012 08:01 AM
Yes thank you, I copied the folder to another location and it ran the debug exe just fine. Thanks.
06-27-2012 09:09 AM
Damned UAC! You never end up changing all that was perfectly working before its arrival!