WindowContainer.obj : error LNK2019: unresolved external symbol "public: void __thiscall CEikGlobalTextEditor::ConstructL(class CCoeControl const *,int,int,int,int,int)" (?ConstructL@CEikGlobalTextEditor@@QAEXPBVCCoeControl@@HHHHH@Z) referenced in function "public: void __thiscall CWindowContainer::ConstructL(class TRect const &)" (?ConstructL@CWindowContainer@@QAEXABVTRect@@@Z)
解决办法: Linker中增加库文件 eikctl.lib
解决LNK2019错误
本文介绍了解决Visual Studio编译时出现的LNK2019未解析外部符号错误的方法。通过在Linker设置中添加特定的库文件eikctl.lib,可以有效解决CEikGlobalTextEditor和CWindowContainer类构造函数链接失败的问题。





