Generating a DLL Import Library
- Updated2023-02-21
- 1 minute(s) read
This command generates a DLL import library. LabWindows/CVI enables Generate DLL Import Library only when you have an include file in the Source window. The include file must contain declarations of all the functions and global variables you want to access from the DLL. When you select the command, You also can choose whether to create the import libraries in the VXIplug&play or IVI subdirectories instead of the directory of the DLL. After you select the subdirectory structure you want to use, enter the pathname of the DLL in the file dialog box that appears.
The Generate DLL Import Library command generates a .lib file with the same base filename as the include file.
If you choose to use the DLL directory, LabWindows/CVI creates the import library in the directory of the DLL. If you choose the VXIplug&play directories, LabWindows/CVI creates the import library in the VXIPNP\lib\msc subdirectory. If you choose the IVI directories, LabWindows/CVI creates the import library in the IVI\Lib\msc subdirectory.