Linking to static lib created with vc7.1

I am trying to do a program where i need to use some static lib's created with vc7.1( i am new to this)
so what is best practice since i get linker errors that msvcp80.dll missing

and if i exclude then i get 10 thousend other error.

co how to use a static lib wich is compiled with vc 7.1 lib

should i use 7.1 lib, and if howto set this up


Answer this question

Linking to static lib created with vc7.1

  • rschiefer

    ok and how is that done,
    and dosent the names differ

    Please help on this one since i am stuck

    that idm probaly also why i have a dbgheap.c error

  • ! Search-Engines-Web

    The VC2005 compiler tools does not support linking libraries from VC7.1 with binaries build by the VC2005 compiler.

    You can try linking to whatever library you want (using the solution properties, linker command line--adding the full path to your lib there) but it is not recommended or guaranteed to build succesfully.

    Thanks,
      Ayman Shoukry
      VC++ Team


  • Kamen

    You can't use a static library that uses a different CRT than the current compiler supports.

  • OICU812

    i think that i just need to set it up in  the inviroment somehow
    i do have vs2003 on the same machine but i want to do the project in vs2005
    so how do tell it to use 7.1libs it have to be possible without to many jumps

    Lars

  • LaurieC

    Or you can just contact the owner of the of the lib and get the sources if applicable.

    Thanks,
      Ayman Shoukry
      VC++ Team

  • Tups

    so what is the solution is that to use vs 2003

  • uotmiem

    If you have the sources of the libraries build with the VC7.1 tools, you need to recompile these sources once more but with the VC2005 tools.

    Thanks,
      Ayman Shoukry
      VC++ Team

  • jsjensen

    The solution is to rebuild your 7.1 libs with VC2005.

    Thanks,
      Ayman Shoukry
      VC++ Team

  • bobmpls

    so what do i do
    do i go back to vs2003

    it must be possible to link to another lib in vs2005

    how do i create a project that uses vc7.1 crt lib

  • Douglas Chew

    ok now i get you

    i dont have that this is a special libary so i gues there is only one way to use
    vs2003

    ***

  • Laszlo Uracs

    Can you try rebuilding the VC7.1 library with the VC2005 compiler

    Thanks,
      Ayman Shoukry
      VC++ Team

  • Linking to static lib created with vc7.1