06-29-2007 04:21 PM
06-29-2007 09:18 PM
Jonathan, Thanks for the info. I'll check out the process explorer utility. We only have Labwindows/CVI 7.1 installed but the CVI run-time engine in the system32 directory was automatically updated to 8.1 when I installed the latest version of NI-VISA. It sounds like I do need to be careful about this and make sure that I always put the 7.1 run-time engine in my application directory during development. I appreciate yours as wel as menchar's support.
-Ryan
07-09-2007 01:42 PM
07-09-2007 02:03 PM
Hi Luis,
My original problem was due to the fact that I had a version 7.1.1.134 cvirte.dll file in my project directory and version 8.1.xxx runtime engine in my system32 directory. I DID NOT have the other runtime engine files as well as the cvirte folder in my project directory. The problem was that when I went to debug an application the cvirte.dll and the cvirte folder were not the same version and thus I was seeing some strange behavior on my development system. After I put the full run-time engine into my project directory everything worked just fine using either 8.1.xxx or 7.1.1.134 runtime engine. I did not do a real thorough test on this but my strange problems did not reappear regardless of engine version.
We always use distribution kits and put the full runtiime engine in the application directory upon install however we were a little careless on our development systems. In order to make sure we use the correct run-time engine during debugging and development we NOW put the desired run-time engine files into our project directory as well. This is the directory that contains the debug version of the executable.
Now one thing that is on my to do list is to try to run two different applications at the same time where each application has a different run-time engine version and see if this causes any problems. Can two different versions of the run-time engine run simultaneously? Also (as was suggested earlier) if I run an application using a newer run-time engine, close this application, and run another application that has an older version of the run-time engine in its directory, which runtime engine will be called up? Hopefully the one present in the application directory as one would expect. I'll hopefully run this little test soon and will post the result.
-Ryan
07-10-2007 11:41 AM