title: Why VC2010 tries to link the MFC42 dll after I upgraded my VC6 project
body: <p>I upgraded my Win32 project from VC6 to VC2010, and fixed a lot of codes which only work on VC6, compiling is OK, but when the project began linking, it failed with the following message</p>
  <blockquote>
  <p>LINK : fatal error LNK1104: cannot open file 'mfc42ud.lib'</p>
  </blockquote>
  <p>I tried to find where the MFC42ud is referred, but I cannot, it drives me mad.</p>
  <p>Could anyone help me?</p>
  <p>updated:</p>
  <p>Now I downloaded the MFC42ud.lib, but there is still link error, now it becomes</p>
  <blockquote>
  <p>atlsd.lib(atltypes.obj) : error LNK2005: &quot;public: __thiscall CRect::CRect(void)&quot; (??0CRect@@QAE@XZ) already defined in mfc42ud.lib(MFC42uD.DLL)</p>
  <p>atlsd.lib(atltypes.obj) : error LNK2005: &quot;public: int __thiscall CRect::Width(void)const &quot; (?Width@CRect@@QBEHXZ) already defined in mfc42ud.lib(MFC42uD.DLL)</p>
  <p>atlsd.lib(atltypes.obj) : error LNK2005: &quot;public: int __thiscall CRect::Height(void)const &quot; (?Height@CRect@@QBEHXZ) already defined in mfc42ud.lib(MFC42uD.DLL)</p>
  <p>LINK : fatal error LNK1104: cannot open file 'mfcs42ud.lib'</p>
  </blockquote>
  <p>It seems it is not compatible if I just copy the MFC42ud.lib, so now error is multiple definition</p>