DirectDraw8.0SDK的例子,编译都通不过,知道的看一下
里面有个FullScreenMode的程序,我编译了半天,都有这样一个错误,
'DrawBitmap':overloaded member function 'long (char*,unsigned long,unsigned long)' notfound in 'CSurface'
see declaration of 'CSurface'
但程序里DrawBitmap的原型明明是
HRESULT CSurface::DrawBitmap( TCHAR* strBMP,
DWORD dwDesiredWidth, DWORD dwDesiredHeight )
请问这是什么错误啊,真实莫名奇妙