Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
1 ratings:
 3 out of 5   

Why do I Receive a Microsoft Visual C++ Runtime Library Error when Executing a TestStand IVI Step on a 64-bit Operating System?



Primary Software:
Primary Software Version: 4.0
Primary Software Fixed Version: N/A
Secondary Software: Instrument Drivers/IVI>>IVI Engine Package

Problem:
I am running TestStand 4.2.1 or previous on a 64-bit operating system. When attempting to execute an IVI step, I receive the error below. Upon clicking OK, TestStand proceeds to crash. Why am I experiencing this problem and how can I resolve it?

Visual C++ Runtime Library Error


Solution:
TestStand reads the export information of DLLs located in the <ProgramFiles>\IVI Foundation directory when first executing an IVI step. On 64-bit operating systems, some NI drivers install 64-bit DLLs to the IVI Foundation directory. TestStand 4.2.1 and previous versions incorrectly read the header information of 64-bit DLLs which results in an unhandled exception that leads to the Microsoft Visual C++ Runtime Library error displayed in the Problem section of this KnowledgeBase.

If you are experiencing this behavior on your 64-bit operating system, please contact National Instruments Support.

Related Links:
KnowledgeBase 53MBIJ1O: Why Do I Receive Errors When Calling An IVI-COM Driver Directly From TestStand?

Attachments:





Report Date: 09/08/2010
Last Updated: 10/15/2010
Document ID: 5D7C8HXK

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit