| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 636 人关注过本帖
标题:谁能告诉我,这怎么回事?
只看楼主 加入收藏
renjunhua
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2013-7-4
结帖率:0
收藏
已结贴  问题点数:5 回复次数:4 
谁能告诉我,这怎么回事?
error LNK2005: "public: void    正在创建库 ../../Debug\CrhType_DllD.lib 和对象 ../../Debug\CrhType_DllD.exp
CrhType_DllD.exp : warning LNK4070: .EXP 中的 /OUT:DLL.dll 指令与输出文件名“../../Debug\CrhType_DllD.dll”不同;忽略指令
QYTXQX.obj : error LNK2019: 无法解析的外部符号 _DLL_CloseRecord,该符号在函数 "public: virtual int __thiscall CQYTXQX::OnInitDialog(void)" (?OnInitDialog@CQYTXQX@@UAEHXZ) 中被引用
DLZDNHQX.obj : error LNK2001: 无法解析的外部符号 _DLL_CloseRecord
DLZDTXQX.obj : error LNK2001: 无法解析的外部符号 _DLL_CloseRecord
MainWnd.obj : error LNK2001: 无法解析的外部符号 _DLL_CloseRecord
QYNHQX.obj : error LNK2001: 无法解析的外部符号 _DLL_CloseRecord
QYTXQX.obj : error LNK2019: 无法解析的外部符号 _DLL_GetAsFloat,该符号在函数 "public: virtual int __thiscall CQYTXQX::OnInitDialog(void)" (?OnInitDialog@CQYTXQX@@UAEHXZ) 中被引用
DLZDNHQX.obj : error LNK2001: 无法解析的外部符号 _DLL_GetAsFloat
DLZDTXQX.obj : error LNK2001: 无法解析的外部符号 _DLL_GetAsFloat
MainWnd.obj : error LNK2001: 无法解析的外部符号 _DLL_GetAsFloat
QYNHQX.obj : error LNK2001: 无法解析的外部符号 _DLL_GetAsFloat
QYTXQX.obj : error LNK2019: 无法解析的外部符号 _DLL_GetAsInteger,该符号在函数 "public: virtual int __thiscall CQYTXQX::OnInitDialog(void)" (?OnInitDialog@CQYTXQX@@UAEHXZ) 中被引用
DLZDNHQX.obj : error LNK2001: 无法解析的外部符号 _DLL_GetAsInteger
DLZDTXQX.obj : error LNK2001: 无法解析的外部符号 _DLL_GetAsInteger
MainWnd.obj : error LNK2001: 无法解析的外部符号 _DLL_GetAsInteger
QYNHQX.obj : error LNK2001: 无法解析的外部符号 _DLL_GetAsInteger
QYTXQX.obj : error LNK2019: 无法解析的外部符号 _DLL_GetRecordByCString,该符号在函数 "public: virtual int __thiscall CQYTXQX::OnInitDialog(void)" (?OnInitDialog@CQYTXQX@@UAEHXZ) 中被引用
DLZDNHQX.obj : error LNK2001: 无法解析的外部符号 _DLL_GetRecordByCString
DLZDTXQX.obj : error LNK2001: 无法解析的外部符号 _DLL_GetRecordByCString
MainWnd.obj : error LNK2001: 无法解析的外部符号 _DLL_GetRecordByCString
QYNHQX.obj : error LNK2001: 无法解析的外部符号 _DLL_GetRecordByCString
QYTXQX.obj : error LNK2019: 无法解析的外部符号 _DLL_ExecuteSQL,该符号在函数 "public: virtual int __thiscall CQYTXQX::OnInitDialog(void)" (?OnInitDialog@CQYTXQX@@UAEHXZ) 中被引用
DLZDNHQX.obj : error LNK2001: 无法解析的外部符号 _DLL_ExecuteSQL
DLZDTXQX.obj : error LNK2001: 无法解析的外部符号 _DLL_ExecuteSQL
MainWnd.obj : error LNK2001: 无法解析的外部符号 _DLL_ExecuteSQL
QYNHQX.obj : error LNK2001: 无法解析的外部符号 _DLL_ExecuteSQL
MainWnd.obj : error LNK2001: 无法解析的外部符号 "public: void __thiscall CMainWnd::OnBnClickedButton4(void)" (?OnBnClickedButton4@CMainWnd@@QAEXXZ)
MainWnd.obj : error LNK2019: 无法解析的外部符号 _DBSolve_DLLDeInit,该符号在函数 "public: virtual __thiscall CMainWnd::~CMainWnd(void)" (??1CMainWnd@@UAE@XZ) 中被引用
MainWnd.obj : error LNK2001: 无法解析的外部符号 _DLL_ConnectDataBase
MainWnd.obj : error LNK2019: 无法解析的外部符号 _DBSolve_DLLInit,该符号在函数 "protected: virtual int __thiscall CMainWnd::OnInitDialog(void)" (?OnInitDialog@CMainWnd@@MAEHXZ) 中被引用
MainWnd.obj : error LNK2001: 无法解析的外部符号 _DLL_GetAsString
MainWnd.obj : error LNK2001: 无法解析的外部符号 _DLL_DeleteRecord
MainWnd.obj : error LNK2001: 无法解析的外部符号 _DLL_UpdateRecord
MainWnd.obj : error LNK2001: 无法解析的外部符号 _DLL_SetAsFloat
MainWnd.obj : error LNK2001: 无法解析的外部符号 _DLL_SetAsInteger
MainWnd.obj : error LNK2001: 无法解析的外部符号 _DLL_SetAsString
MainWnd.obj : error LNK2001: 无法解析的外部符号 _DLL_AddOneRecord
QYTXQX.obj : error LNK2001: 无法解析的外部符号 "public: void __thiscall CQYTXQX::OnBnClickedButton2(void)" (?OnBnClickedButton2@CQYTXQX@@QAEXXZ)
../../Debug\CrhType_DllD.dll : fatal error LNK1120: 17 个无法解析的外部命令
搜索更多相关主题的帖子: warning public 
2013-07-04 22:18
love云彩
Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19
来 自:青藏高原
等 级:贵宾
威 望:53
帖 子:3663
专家分:11416
注 册:2012-11-17
收藏
得分:2 
上代码啊,那么懒,谁知道你这是怎么回事

思考赐予新生,时间在于定义
2013-07-04 22:21
peach5460
Rank: 15Rank: 15Rank: 15Rank: 15Rank: 15
来 自:武汉
等 级:贵宾
威 望:30
帖 子:2780
专家分:6060
注 册:2008-1-28
收藏
得分:2 
我告诉不了你怎么回事...
除非你先告诉我发生了什么事...

你先告诉我what我才能告诉你why

我总觉得授人以鱼不如授人以渔...
可是总有些SB叫嚣着:要么给代码给答案,要么滚蛋...
虽然我知道不要跟SB一般见识,但是我真的没修炼到宠辱不惊...
2013-07-05 08:16
qwe168192
Rank: 2
等 级:论坛游民
帖 子:10
专家分:26
注 册:2012-9-22
收藏
得分:2 
这种情况一般都是缺少符号引起(比如少写了分号;或者 =>这样的错误符号 等等),其他特殊情况没见过。
2013-07-07 22:30
rjsp
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
等 级:版主
威 望:528
帖 子:9008
专家分:53957
注 册:2011-1-18
收藏
得分:2 
以下是引用qwe168192在2013-7-7 22:30:54的发言:

这种情况一般都是缺少符号引起(比如少写了分号;或者 =>这样的错误符号 等等),其他特殊情况没见过。

一般是link时缺少指定的lib文件
2013-07-08 08:21
快速回复:谁能告诉我,这怎么回事?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.012413 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved