求助!!MFC贴图问题
这是代码,加上这几行代码后就报错bitmap.LoadBitmap(IDB_BITMAP2);dcMemory.SelectObject(&bitmap);Transpa...
这是代码 ,加上这几行代码后就报错
bitmap.LoadBitmap(IDB_BITMAP2);
dcMemory.SelectObject(&bitmap);
TransparentBlt(pDC->m_hDC,160,425,70,70,dcMemory.m_hDC,0,0,500,707,RGB(255,255,255));
bitmap.Detach();
报错为:
M_MYGAMEView.obj : error LNK2001: unresolved external symbol __imp__TransparentBlt@44
Debug/M_MYGAME.exe : fatal error LNK1120: 1 unresolved externals
是编译软件出问题了么?求解决错误方案,谢谢! 展开
bitmap.LoadBitmap(IDB_BITMAP2);
dcMemory.SelectObject(&bitmap);
TransparentBlt(pDC->m_hDC,160,425,70,70,dcMemory.m_hDC,0,0,500,707,RGB(255,255,255));
bitmap.Detach();
报错为:
M_MYGAMEView.obj : error LNK2001: unresolved external symbol __imp__TransparentBlt@44
Debug/M_MYGAME.exe : fatal error LNK1120: 1 unresolved externals
是编译软件出问题了么?求解决错误方案,谢谢! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询