试试这么写:
LPDIRECTDRAWSURFACE7 m_pFrontBuf_one;
m_pFrontBuf_one=m_pFrontBuf->GetDDS();
m_pFrontBuf->GetDDS()->GetAttachedSurface(m_pFrontBuf->GetDDSCAPS(),&m_pFrontBuf_one);其中,你的写法被识别为:(&m_pBackBuf)->GetDDS(),所以出错了.
LPDIRECTDRAWSURFACE7 m_pFrontBuf_one;
m_pFrontBuf_one=m_pFrontBuf->GetDDS();
m_pFrontBuf->GetDDS()->GetAttachedSurface(m_pFrontBuf->GetDDSCAPS(),&m_pFrontBuf_one);其中,你的写法被识别为:(&m_pBackBuf)->GetDDS(),所以出错了.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货