"User Types Not Recognized" Error Using TestStand C/C++ DLL Adapter

Updated May 22, 2023

Reported In

Software

  • TestStand

Issue Details

I'm trying to use the C/C++ DLL  TestStand adapter to call a DLL created in Visual Studio, and when I try to do so it fails indicating the following:

This function either does not have parameter information in the DLL or uses types not recognized by TestStand 

Why is this happening and what do I to correctly call the DLL from TestStand?

Solution

In order to call a code module with the C/C++ DLL adapter, it is important to verify it complies with the rules defined for its methods and functions so that it may be properly imported into TestStand.