You should not be linking. When you build there is an option in VC++ whether you want to link the DLL dynamically or statically for MFC/Win 32 projects under the projects >> settings menu