12-04-2013 04:24 PM
I am running a 64-bit GUI project using LabWindows 2012 SP1 as a standalone executable. We have the identical program running on two identical computers in our lab, both using Windows 7. Our system administrator recently installed McAfee anti-virus version 8.8 on both PCs and configured some other security settings as well. I am now getting error messages when I try to run the program. One PC immediately pops up an error that says "Mesa.dll could not be found". The error reappears repeatedly if I click on it to try to clear it. The other PC starts the program but gives an error saying "Could not open a session to the VISA Resource Manager" when I try using it to run some other test programs.
Our project ran fine on both PCs until the anti-virus program was installed. On the computer with the DLL error, we have tried uninstalling McAfee, reinstalling the run-time engine, and reinstalling the MS C++ 2008 redistributable. It's still not working.
12-05-2013 10:17 PM
Hello richferrara,
A couple of questions:
If you search for mesa.dll on the target computer, does it show up on that computer? Where is it located? Is it in the same place as on the computer that does not give the dll error?
The VISA Resource Manager error doesn't seem like it's directly related to the other one. Are you using NI-VISA in your application? Or a third-party VISA driver? Does the error message give you any indication of where the error is happening or an error number, or is it just the text message?
Regards,
Kelsey Johnson
Applications Engineer
12-06-2013 07:59 AM
The mesa.dll file is in c:\Program Files (x86)\National Instruments\Shared\Mesa. The other PC has it in the same place.
The VISA resource manager error message was triggered by a call to viOpenDefaultRM() that failed.
Our security department is allowing us to continue without installing McAfee on these particular PCs, so these issues are now moot for us since we were able to restore our old hard drive images from backup copies.