转贴:unresolved external symbol "public: virtua...
来源:百度文库 编辑:神马文学网 时间:2024/03/29 00:37:05
从别的地方拷贝的代码,结果编译通过,链接的时候不通过,
根据这里网友的回答解决了问题……
恩,就是他的回答:
"When you say you have DECLARE_DYNAMIC in your source, do you mean in the cpp file?
You need DECLARE_DYNAMIC in the header, but IMPLEMENT_DYNAMIC(CYourClass, CBaseClass) in the cpp file (usually just before the message map)
If this doesn't help, send me more complete code and I'll have a look
Steve"
根据这里网友的回答解决了问题……
恩,就是他的回答:
"When you say you have DECLARE_DYNAMIC in your source, do you mean in the cpp file?
You need DECLARE_DYNAMIC in the header, but IMPLEMENT_DYNAMIC(CYourClass, CBaseClass) in the cpp file (usually just before the message map)
If this doesn't help, send me more complete code and I'll have a look
Steve"
转贴:unresolved external symbol "public: virtua...
error LNK2001: unresolved external symbol
ATL链接错误"unresolved external symbol _main"
解决error LNK2001: unresolved external symbol
链接错误"unresolved external symbol _main"
error LNK2001: unresolved external symbol __imp
编译时出现error LNK2001: unresolved external symbol __imp__htons@4
public
(转)Unknown symbol __udivdi3 && Unknown symbol...
Public marks
Ruby之symbol研究
power designer--->protect symbol
Public service broadcasting
Public Service Advertisements
DOCTYPE HTML PUBLIC
Public Service Advertisements
A Public School
openssl - 获得public key
your image in public
public virtual stream Yining.write()
US public diplomacy with Twitter
Public servants top happiness index
Wake-Up Call - Back Up Your External Data
Viewing China’s external relations from Shenzhen’s experience