06-19-2007 07:42 AM
06-19-2007 08:04 AM
Hi Rafi2003,
Take a look at my post
here that explains the basic differences. It also has some good links as well.
The overview of what I talk about in that post is that when you include the
header file (.h) and
import library (.lib) of a DLL in your LabWindows/CVI project, you are statically linking to
that DLL. The alternative way to call DLLs is through dynamic linking
which means you load the DLL at run-time via the LoadLibrary and GetProcAddress Windows SDK methods. This method
just requires the DLL and no other files.
To address your exporting confusion, whenever you create a DLL, you need to
specify what functions you export and make available to the user of the DLL.
When you select the Symbols marked for export, the DLL exports all symbols you
define in the DLL with the __declspec(dllexport)
or export qualifier. For more information on that,
see the Target Settings for DLLs help topic in the LabWindows/CVI Help.
Best Regards,