Exporting From a DLL Using link(exportAll) Sample

Description

There are several ways to specify that a symbol such as a function should be made available to users of a DLL. One approach uses the _Export keyword, and another #pragma export(). The simplest approach is to specify link(exportAll) in the configuration file. This means that all external symbols will be exported.

Concept

The sample program defines a C++ class, and implements that class within a DLL. The class's members (the constructor A::A() and the regular function member A::f()) can be called by any user of the DLL.

Supported
Supported
Supported