Generating an Import Library
- Updated2023-02-21
- 1 minute(s) read
If you do not have a DLL import library, you can generate an import library in LabWindows/CVI. You must have an include file that contains the declarations of all the functions and global variables you want to access from the DLL. The calling conventions of the function declarations in the include file must match the calling conventions of the functions in the DLL. For example, if the DLL exports functions using the __stdcall calling convention, the function declarations in the include file must contain the __stdcall keyword. Load the include file into a Source window and select Options»Generate DLL Import Library.