33,311
社区成员
发帖
与我相关
我的任务
分享
easyx.lib(EasyX.GraphWnd.obj) : error LNK2019: 无法解析的外部符号 __imp__ExtractIconA@12,该符号在函数 "private: static unsigned long __stdcall EasyX::GraphWnd::ThreadFunc(void *)" (?ThreadFunc@GraphWnd@EasyX@@CGKPAX@Z) 中被引用
easyx.lib(EasyX.ImageFunc.obj) : error LNK2019: 无法解析的外部符号 __imp__CreateStreamOnHGlobal@12,该符号在函数 "private: static void __cdecl EasyX::ImageFunc::LoadImageFromMem(class EasyX::GlobalMemory *,class IMAGE *,int,int,bool)" (?LoadImageFromMem@ImageFunc@EasyX@@CAXPAVGlobalMemory@2@PAVIMAGE@@HH_N@Z) 中被引用
easyx.lib(EasyX.ImageFunc.obj) : error LNK2019: 无法解析的外部符号 __imp__OleCreatePictureIndirect@16,该符号在函数 "public: static void __cdecl EasyX::ImageFunc::saveimage(char const *,class IMAGE *)" (?saveimage@ImageFunc@EasyX@@SAXPBDPAVIMAGE@@@Z) 中被引用
easyx.lib(EasyX.ImageFunc.obj) : error LNK2019: 无法解析的外部符号 __imp__OleLoadPicture@20,该符号在函数 "private: static void __cdecl EasyX::ImageFunc::LoadImageFromMem(class EasyX::GlobalMemory *,class IMAGE *,int,int,bool)" (?LoadImageFromMem@ImageFunc@EasyX@@CAXPAVGlobalMemory@2@PAVIMAGE@@HH_N@Z) 中被引用
easyx.lib(EasyX.Var.obj) : error LNK2019: 无法解析的外部符号 __imp__CoUninitialize@0,该符号在函数 "public: __thiscall EasyX::GlobalVar::~GlobalVar(void)" (??1GlobalVar@EasyX@@QAE@XZ) 中被引用
easyx.lib(EasyX.Var.obj) : error LNK2019: 无法解析的外部符号 __imp__CoInitialize@4,该符号在函数 "public: __thiscall EasyX::GlobalVar::GlobalVar(void)" (??0GlobalVar@EasyX@@QAE@XZ) 中被引用
bin\Debug\EGA_CB_VC2010.exe : fatal error LNK1120: 6 个无法解析的外部命令
后来通过 google 哪些错误的API,原来需要 引入 Ole32.lib OleAut32.lib shell32.lib
CB建立控制台项目,编译器选 VC2010 , 导入这些库名
<Add library="easyx.lib" />
<Add library="Ole32" />
<Add library="OleAut32" />
<Add library="shell32" />
当然菜菜可以直接解压我哪个配置好的 CB 直接用
http://dlsw.baidu.com/sw-search-sp/soft/18/25583/Windbgx86_v6.12.2.633.1395371577.msi