How do I convert my USRDLL to a regular DLL that uses the MFC shared library?

Note that the term USRDLL is no longer used in the Visual C++ documentation. A regular DLL that is statically linked to MFC has the same characteristics as the former USRDLL.

Converting your DLL to dynamically link to the MFC libraries requires more than just rebuilding the DLL with the MFC shared library. For more information about converting a regular DLL that statically links to MFC to a DLL that dynamically links to MFC, see the section "Converting DLLScreenCap to Dynamically Link with the MFC DLL" in the abstract for the DLLScreenCap sample.

See Also

Concepts

DLL Frequently Asked Questions