Setting up a static link to the Registrar code (C++ Only)
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_REGISTRY
instead of/D _ATL_DLL
on the CL command line. For more information, see/D
.Recompile.
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for