title: Link VS 8.0 lib file with VS 6.0
body: <p>I have a quite simple program (Some simple calculations, "give something in, get something out) that I compile to a lib-file using Visual Studio 8.0 SP2.</p>
  
  <p>This lib-file shall be linked into another program. The problem is that the other program is on a computer having Visual Studio 6.0.</p>
  
  <p>When compiling the program and linking in the lib-file (Using VS 6.0) following errors and warnings occur:</p>
  
  <p>First some warnings:</p>
  
  <pre><code>    Linking...
  myLib.lib(SeController.o) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
  myLib.lib(SeController.o) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
  myLib.lib(SeController.o) : warning LNK4044: unrecognized option "alternatename:??$get_name@Vinvalid_argument@std@@@Exception@Impl@Core@@YAPBDXZ=?get_name@Exception@Impl@Core@@YAPBDXZ"; ignored
  myLib.lib(SeController.o) : warning LNK4078: multiple ".CRT" sections found with different attributes (40300040)
  myLib.lib(bt_errors.o) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
  myLib.lib(bt_errors.o) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
  myLib.lib(SCtrlImpl.o) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
  myLib.lib(SCtrlImpl.o) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
  </code></pre>
  
  <p>.... (Just some of the warnings here. There are hunders of the same type)</p>
  
  <p>Then (some of) the errors:</p>
  
  <pre><code>msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; &amp; __thiscall std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt;::operator=(char
   const *)" (??4?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@PBD@Z) already defined in libcpd.lib(locale0.obj)
  msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall std::basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt;::~basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt;(void)" (??1?$basic_ostream@DU?$char_traits@D@std@@@std@@UAE@XZ) alread
  y defined in libcpd.lib(iostream.obj)
  msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall std::basic_ios&lt;char,struct std::char_traits&lt;char&gt; &gt;::~basic_ios&lt;char,struct std::char_traits&lt;char&gt; &gt;(void)" (??1?$basic_ios@DU?$char_traits@D@std@@@std@@UAE@XZ) already defined in
   libcpd.lib(iostream.obj)
  msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall std::basic_istream&lt;char,struct std::char_traits&lt;char&gt; &gt;::~basic_istream&lt;char,struct std::char_traits&lt;char&gt; &gt;(void)" (??1?$basic_istream@DU?$char_traits@D@std@@@std@@UAE@XZ) alread
  y defined in libcpd.lib(iostream.obj)
  msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall std::basic_istream&lt;char,struct std::char_traits&lt;char&gt; &gt;::basic_istream&lt;char,struct std::char_traits&lt;char&gt; &gt;(class std::basic_streambuf&lt;char,struct std::char_traits&lt;char&gt; &gt; *,bool)" (??0?$
  basic_istream@DU?$char_traits@D@std@@@std@@QAE@PAV?$basic_streambuf@DU?$char_traits@D@std@@@1@_N@Z) already defined in libcpd.lib(iostream.obj)
  msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall std::basic_streambuf&lt;char,struct std::char_traits&lt;char&gt; &gt;::~basic_streambuf&lt;char,struct std::char_traits&lt;char&gt; &gt;(void)" (??1?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAE@XZ) 
  already defined in libcpd.lib(iostream.obj)
  msvcprt.lib(MSVCP60.dll) : error LNK2005: "protected: __thiscall std::basic_streambuf&lt;char,struct std::char_traits&lt;char&gt; &gt;::basic_streambuf&lt;char,struct std::char_traits&lt;char&gt; &gt;(void)" (??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAE@XZ) alread
  y defined in libcpd.lib(iostream.obj)
  MSVCRT.lib(MSVCRT.dll) : error LNK2005: _vsprintf already defined in libcd.lib(vsprintf.obj)
  MSVCRT.lib(MSVCRT.dll) : error LNK2005: _exit already defined in libcd.lib(crt0dat.obj)
  MSVCRT.lib(MSVCRT.dll) : error LNK2005: _atoi already defined in libcd.lib(atox.obj)
  </code></pre>
  
  <p>I have tried to download the Visual Studio 2005 Redistrubate package for VS 8.0 to the computering having 6.0, but I got the same errors and warnings.</p>
  
  <p>Is it even possible to link in a lib-file from 8.0 with a 6.0 compiler?</p>
  
  <p>It is not an option to change the installed versions. (And to not ask why someone are using VS 6.0 :) )</p>