发达对讲机写频软件:vc初学者的问题

来源:百度文库 编辑:神马品牌网 时间:2024/05/01 11:55:08
我照这个教程编写了一个简单的程序,就是产生一个新的窗口 .每次敲完了之后还能运行,可是保存了再打开就提示出错.这是为什么阿.出错提示如下:
--------------------Configuration: pantodrw - Win32 Debug--------------------
Linking...
msvcrtd.lib(MSVCRTD.dll) : error LNK2005: __setmbcp already defined in libcd.lib(mbctype.obj)
LINK : warning LNK4098: defaultlib "mfc42d.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "mfcs42d.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "msvcrtd.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "mfco42d.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
Debug/pantodrw.exe : fatal error LNK1169: one or more multiply defined symbols found
执行 link.exe 时出错.

pantodrw.exe - 1 error(s), 0 warning(s)

你每次打开的是独立的一个文件,不是一个工程.
你应该打开工作环境文件.