Creating DLLs in LabWindows/CVI

LabWindows/CVI 2017 Help

Edition Date: May 2017

Part Number: 370051AG-01

»View Product Info

DOWNLOAD (Windows Only)
LabWindows/CVI 2010 Help
LabWindows/CVI 2012 Help
LabWindows/CVI 2013 Help
LabWindows/CVI 2015 Help
LabWindows/CVI 2017 Help

In LabWindows/CVI, you can create 32-bit and 64-bit DLLs. Along with each DLL, LabWindows/CVI creates a DLL import library for external compilers.

Note Note  You can load 32- and 64-bit DLLs only into processes with the same bitness. For example, you can load a 32-bit DLL into a 32-bit process. You cannot load a 32-bit DLL into a 64-bit process, and vice versa.

You must have a separate project for each DLL you want to create. Select Build»Target Type»Dynamic Link Library in the Workspace window. Next, you must select one of the release configuration options in the Build»Configuration submenu. Then use the Build»Build command to create a DLL suitable for distribution. You can set the name of the DLL as well as other options by selecting Build»Target Settings. DLLs created using a release configuration do not contain any debugging information and therefore cannot be debugged.

To create a DLL that you can debug, select one of the Debug options in the Build»Configuration submenu and then select Build»Build.


Not Helpful