Hi Robert,
I built and ran your program with no problems on my system with CVI
8.0. When I put a copy of version 7.1 of cvirte.dll next to the
executable, I got errors similar to yours. The only reasonable
cause for this behavior that I can think of is that you must have an
older version of the runtime engine dll somewhere on your system.
Windows searches the following locations for dlls in the order listed:
- The directory where the executable module for the current process is located.
- The current directory.
- The Windows system directory.
- The Windows directory.
- The directories listed in the PATH environment variable.
You have already verified that you have the correct version (
8.0.0.273)
of the dll in the Windows system directory, so that leaves only the
first two options. Are you sure that when you copied the files
over to your laptop, you didn't also copy over an older cvirte.dll that
may have been in the same directory for whatever reason? I
apologize if this seems obvious, but it seems to be the most likely
explanation.
I will be unable to respond until January, but if you have any more info, please post back.
Happy Holidays.
Mert A.
National Instruments