专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > C++ Builder

TEST2.obj : error LNK2001: unresolved external symbol "public: static void _cde解决办法

发布时间:2011-06-28 10:59:54 文章来源:www.iduyao.cn 采编人员:星星草
TEST2.obj : error LNK2001: unresolved external symbol "public: static void __cde
BOOL CTEST2App::InitInstance()
{
{

CCommandLineInfo cmdInfo;

ParseCommandLine(cmdInfo);
CSplashWnd::EnableSplashScreen(cmdInfo.m_bShowSplash);

}
AfxEnableControlContainer();

    //下面的内容省略

将红色部分注释掉编译不会出现下面的错误,加上之后就会出现下面的错误,什么原因呢?

Compiling...
TEST2.cpp
Linking...
TEST2.obj : error LNK2001: unresolved external symbol "public: static void __cdecl CSplashWnd::EnableSplashScreen(int)" (?EnableSplashScreen@CSplashWnd@@SAXH@Z)
Debug/TEST2.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Creating browse info file...
VC++6.0  编译错误 注释

------解决方案--------------------
CSplashWnd所在的单元,必须添加到工程中。
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: