This is a forwarded article and I think it is helpful. Please refer to the article "A LNK2005 error occurs when the CRT library and MFC libraries are linked in the wrong order in Visual C++" at
http://support.microsoft.com/default.aspx?scid=kb;en-us;q148652.