标题:[求助]重复定义
只看楼主
zhzj33
Rank: 1
等 级:新手上路
帖 子:10
专家分:0
注 册:2004-11-23
 问题点数:0 回复次数:2 
[求助]重复定义

Compiling... FrameUn.cpp Linking... PP.obj : error LNK2005: "class CDialogUn * m_lpDialog" (?m_lpDialog@@3PAVCDialogUn@@A) already defined in FrameUn.obj PP.obj : error LNK2005: "class CFrameUn * m_lpFrame" (?m_lpFrame@@3PAVCFrameUn@@A) already defined in FrameUn.obj PPDlg.obj : error LNK2005: "class CDialogUn * m_lpDialog" (?m_lpDialog@@3PAVCDialogUn@@A) already defined in FrameUn.obj PPDlg.obj : error LNK2005: "class CFrameUn * m_lpFrame" (?m_lpFrame@@3PAVCFrameUn@@A) already defined in FrameUn.obj Debug/PP.exe : fatal error LNK1169: one or more multiply defined symbols found Error executing link.exe.

请问各位高手出现这种错误,都有哪些情况!?

搜索更多相关主题的帖子: obj 定义 already 
2004-12-04 22:40
YINI
Rank: 1
等 级:新手上路
帖 子:10
专家分:0
注 册:2004-12-2
得分:0 

因为你吧class CDialogUn * m_lpDialog class CFrameUn * m_lpFrame" 定义为全局变量

但你定义 .了两次 看看那两个文件


/ip/1.php" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://dqdj./ip/1.php');}" onmousewheel="return imgzoom(this);" alt="" />
2004-12-06 19:21
zhzj33
Rank: 1
等 级:新手上路
帖 子:10
专家分:0
注 册:2004-11-23
得分:0 
谢谢!
2004-12-09 22:18



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-8847-1-1.html




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

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