Share via


How do I export data from a DLL?

OverviewHow Do IFAQDetailsSample

It is possible for a Win32-based application to be able to address DLL global variables directly by name from within the executable. This is done by exporting global data names in a way that is similar to the way you export a DLL function name. For detailed information on how to export data from a DLL, see Using __declspec(dllimport) and __declspec(dllexport) and the Knowledge Base article “Exporting Data from a DLL or an Application” (Q90530).