MessageEngine.obj : error LNK2019: 无法解析的外部符号 __imp__DeleteDC@4 ,该符号在函数 "public: long __thiscall ATL::CAxHostWindow::OnPaint(unsigned int,unsigned int,long,int &)" (?OnPaint@CAxHostWindow@ATL@@QAEJIIJAAH@Z) 中被引用
MessageEngine.obj : error LNK2019: 无法解析的外部符号 __imp__BitBlt@36 ,该符号在函数 "public: long __thiscall ATL::CAxHostWindow::OnPaint(unsigned int,unsigned int,long,int &)" (?OnPaint@CAxHostWindow@ATL@@QAEJIIJAAH@Z) 中被引用
MessageEngine.obj : error LNK2019: 无法解析的外部符号 __imp__SelectObject@8 ,该符号在函数 "public: long __thiscall ATL::CAxHostWindow::OnPaint(unsigned int,unsigned int,long,int &)" (?OnPaint@CAxHostWindow@ATL@@QAEJIIJAAH@Z) 中被引用
MessageEngine.obj : error LNK2019: 无法解析的外部符号 __imp__CreateCompatibleDC@4 ,该符号在函数 "public: long __thiscall ATL::CAxHostWindow::OnPaint(unsigned int,unsigned int,long,int &)" (?OnPaint@CAxHostWindow@ATL@@QAEJIIJAAH@Z) 中被引用
MessageEngine.obj : error LNK2019: 无法解析的外部符号 __imp__CreateCompatibleBitmap@12 ,该符号在函数 "public: long __thiscall ATL::CAxHostWindow::OnPaint(unsigned int,unsigned int,long,int &)" (?OnPaint@CAxHostWindow@ATL@@QAEJIIJAAH@Z) 中被引用
MessageEngine.obj : error LNK2019: 无法解析的外部符号 __imp__DeleteObject@4 ,该符号在函数 "public: long __thiscall ATL::CAxHostWindow::OnPaint(unsigned int,unsigned int,long,int &)" (?OnPaint@CAxHostWindow@ATL@@QAEJIIJAAH@Z) 中被引用
MessageEngine.obj : error LNK2019: 无法解析的外部符号 __imp__CreateSolidBrush@4 ,该符号在函数 "public: long __thiscall ATL::CAxHostWindow::OnPaint(unsigned int,unsigned int,long,int &)" (?OnPaint@CAxHostWindow@ATL@@QAEJIIJAAH@Z) 中被引用
MessageEngine.obj : error LNK2019: 无法解析的外部符号 __imp__GetDeviceCaps@8 ,该符号在函数 "public: virtual long __stdcall ATL::CAxHostWindow::get_Font(struct IFontDisp * *)" (?get_Font@CAxHostWindow@ATL@@UAGJPAPAUIFontDisp@@@Z) 中被引用
MessageEngine.obj : error LNK2019: 无法解析的外部符号 __imp__GetObjectA@12 ,该符号在函数 "public: virtual long __stdcall ATL::CAxHostWindow::get_Font(struct IFontDisp * *)" (?get_Font@CAxHostWindow@ATL@@UAGJPAPAUIFontDisp@@@Z) 中被引用
MessageEngine.obj : error LNK2019: 无法解析的外部符号 __imp__GetStockObject@4 ,该符号在函数 "public: virtual long __stdcall ATL::CAxHostWindow::get_Font(struct IFontDisp * *)" (?get_Font@CAxHostWindow@ATL@@UAGJPAPAUIFontDisp@@@Z) 中被引用
.\Debug/MessageEngine.exe : fatal error LNK1120: 10 个无法解析的外部命令
我已经加入了
#include <Wingdi.h>
#include <Windows.h>
#pragma lib(lib,"Gdi32.lib")
还是出现上面的错误,请帮我看看!谢谢