我在运行书所带光盘的代码时,提示:LINK : fatal error LNK1104: cannot open file "D:\Microsoft Visual Studio\VC98\Lib\TAPI32.LIB"我就project->add to project->files,然后找到这个TAPI32.LIB加了上去,
再次运行,却还是这种错误,在file视图中,可以打开Tapi30.lib(不过我看不懂罢了),
请高手赐教!

解决方案 »

  1.   

    看看路径设置,Additional library path
      

  2.   

    菜单:Project->setting
    左边选树根,以及你想设置的版本(debug/release etc),右边选Link
    Category选input
    c?
      

  3.   

    我是这样做的!
    projiect->settings
    选Link项,然扣在object/libray ^^填上了VC安装路径下的LIB
    D:\Program Files\Microsoft Visual Studio\VC98\Lib
    其中Setting for 项选的是Win32 debug
    还是不行,出来另一种错误为:LINK : fatal error LNK1104: cannot open file "D:\Program.obj"
    我是一脸的不解啊!
      

  4.   

    to: ndy_w(carpe diem) 
    不好意思啊,让你也没有成就感,
    我选了根,是debug,然后是Link
    然后是Category选input
    在对象/库 模式中,填进了VC安装路径下的LIB
    D:\Program Files\Microsoft Visual Studio\VC98\Lib
    还是不行,出来另一种错误为:
    LINK : fatal error LNK1104: cannot open file "D:\Program.obj"
    我是一脸的不解啊!
      

  5.   

    找不到program.obj,工程中源文件是program.obj还是program.c/cpp?
    如果是obj就无法了,是c/cpp,看general中intermediate files/output files设置。
    错误信息就是提示你问题在哪里的,根据提示察看工程设置
      

  6.   

    是这样的,自从我安装了VC以来,从没有动过project->setings,
    打开这个程序之前,一切都是默认的,我在运行书所带光盘的代码时,
    提示:LINK : fatal error LNK1104: cannot open file "D:\Microsoft Visual Studio\VC98\Lib\TAPI32.LIB"这个路径是我的安装路径!我傻了眼了,该怎么办??