Unable to Build Dll With ListType Type Library Resource in LabWindows™/CVI

Updated Jun 1, 2023

Reported In


  • LabWindows/CVI

Operating System

  • Windows

Programming Language

  • C

Issue Details

When attempting to include Type Information in a DLL (Build >> Target Settings >> Type Information, select Add type resource library to DLL and select the function panel file), the project fails to build if a ListType is one of the types.


Use a new feature added to LabWindows™ /CVI 2019 and later to use NI Type information, as this option fixes the compiler error.
  1. Build >> Target Settings >> Type Information >> select Add NI Type Information resource to DLL
Type Information Window
Figure 1. Type Information Window
  1. Disable Add type Library resource to DLL
Adding Type information should provide better integration with TestStand 2019 and later to be able to auto-populate function names and parameters when calling the LabWindows™ /CVI DLL. 

Additional Information

Type Information in a DLL is added to be able to auto-populate the Function Name ring control in TestStand with the corresponding function names and parameters. The process before LabWindows™ /CVI 2019 to achieve this is explained in the following KB:
Embedding Type Libraries in a LabWindows/CVI DLL for use in TestStand