Admin Production ni-theme
Current Publication

Type Information Dialog Box

LabWindows/CVI

Type Information Dialog Box

Use this dialog box to add various type information to your DLL. Click the Type Information button in the Target Settings dialog box for DLLs to open the Type Information dialog box.

The Type Information dialog box contains the following main options:

  • Add type library resource to DLL—Choose whether to add a type library resource to your DLL. LabWindows/CVI generates the type library resource from a function panel (.fp) file, which you must specify in the Function panel file field.
    • Include links to help file—You can choose to include links in the type library resource to a Microsoft Compiled Help (.chm) file or Windows help (.hlp) file.

    This feature is useful if you intend for your DLL to be used from Microsoft Visual Basic.

  • Add NI Type Information resource to DLL—If you enable this option, LabWindows/CVI adds NI Type Information resource to your DLL, which can later be used by other NI software to navigate to your DLL source code and to deduce the data types for the exported functions. The latter is particularly useful if your C API uses structure, enumeration or pointer data types since it makes it much easier to call your exported functions from other NI products that can read this Type Information.
    • Data from all Source files—Enabled by default. When this option is enabled, LabWindows/CVI automatically adds the Type Information collected from all the source files in your project.
    • Data from single Header file—This option allows you to specify the header file (.h) to use for creating the NI Type Tnformation, which you must specify in the Header file field below. Use this option in case one of the following applies:
      • If the source files have conflicting types, this provides a single definition for the NI Type Information.
      • If your project does not use the Standard CVI Compiler for Release Configurations in the Build Options dialog, this option still allows to embed NI Type Information.
      • If you want some of the project functions or data types to be excluded from the embedded NI Type Information. You have full control of the header file's contents, since it does not have to be included in the project build.