Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
The Active Template Library (ATL) continues to be supported. However, we're no longer adding features or updating the documentation.
C++ clients can create a static link to the Registrar's code. Static linking of the Registrar's parser adds approximately 5K to a release build.
The simplest way to set up static linking assumes you have specified DECLARE_REGISTRY_RESOURCEID in your object's declaration. (It's the default specification used by the ATL.)
To create a static link using DECLARE_REGISTRY_RESOURCEID
Specify
/D _ATL_STATIC_REGISTRYinstead of/D _ATL_DLLon the CL command line. For more information, see/D.Recompile.