搜索了也得不到结果,估计太弱了-_-!!!!
Project Settings中乱找一通也没找到现在xxxlib.dsp 输出 .\bin\xxx.lib
需要xxxlib.dsp 输出 .\bin\xxx.dll嘻嘻嘻 谢谢关注 嘻嘻嘻嘻

解决方案 »

  1.   

    project settings...
    dynamic lib
      

  2.   

    to kimryo:
    感谢你提供帮助,不过我打开Project Settings没有找到dynamic lib在什么地方设置
    我使用的版本是Visual C++ 6.0
    打开"Project Settings"看到General\Debug\C/C++\Library\Resources....等选项页
      

  3.   

    poor IDE...Or you need new a static lib project,and add the same source file...
      

  4.   

    生成lib和dll的连接程序不同,而VS对这两种程序采用了不同属性页。直接改似乎不可行那么你该手动修改工程文件了。不过注意,将lib移植为dll最要命的是导出问题。
      

  5.   

    生成lib和dll的连接程序不同
    ===============================
    no,static lib won't link.
      

  6.   

    昨天尝试将xxx.dsp中
    # TARGTYPE "Win32 (x86) Static Library" 0x0104
    修改成
    # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
    结果编译的时候报"error LNK2001: unresolved external symbol _main"
    打开选项"Link/Ignore all default libraries"编译后又报
    "LNK1561: entry point must be defined"
    入口函数必须定义?是怎么回是,怎么加呢?
    下午结贴,,,,
      

  7.   

    create a static lib project,and add the same source file.
      

  8.   

    create a dynamic lib project,and add the same source file.
      

  9.   

    you didn;t understand me:
    [生成lib] 和 [dll的连接程序]不同hehe。the static lib uses lib.exe to generate a lib file
    and the dll uses link.exe to link to a PE file.