Hello SLocke,
Is it possible that you are running your program in a computer that has a CVI beta runtime installed (c:\windows\system32\cvirte.dll)? The reason I'm asking is because we were able to reproduce this problem, but only in the current CVI beta. Not in CVI 8.1.1.
Keep in mind that when you have multiple versions of CVI installed in the same computer, all applications are using the runtime of the highest version that you have installed. Even if you later uninstall the CVI with highest version, the version(s) of CVI that remain installed will continue using the runtime of the one that you uninstalled. To go back to using the older runtime, you'll have to completely uninstall all versions of CVI, and uninstall the CVI runtime, and then re-install only the version that you want to use.
About the bug... we did confirm that is a bug in the current beta. It happens whenever you use non-64-bit integers. Unfortunately, it is too late to fix this bug in the current beta, so it will be fixed instead in an upcoming maintenance release.
Is using doubles, or 64-bit integers, an acceptable workaround for you, in the meanwhile?
Thanks,
Luis