What is a Type Library and How is it Used by NI TestStand?

Updated Jul 10, 2018

Reported In

Software

  • LabWindows/CVI
  • TestStand

Programming Language

  • C
  • C++

Issue Details

What is a type library, how do I create a type library using Visual C++ or LabWindows/CVI and what role do they play in NI TestStand?

Solution

A type library is essentially a type of binary file that contains all of the type information that is required to use procedures or classes in DLL's. Type libraries are therefore used to expose the function names and arguments of a DLL. This information is especially useful in TestStand because the C/C++ DLL Adapter uses the type library to display the arguments of the exposed functions.

WAS THIS ARTICLE HELPFUL?

Not Helpful