   Does SetPalette function exist in DDRAW7?
  I was programming my own Astroids clone and when I went to attach my palette to my primary surface, I used this code but got an error:// attach palette to primary surfaceif (FAILED(lpdd->SetPalette(lpddpal))){// error} // end ifI got the following error:--------------------Configuration: Astroids - Win32 Debug--------------------Compiling...WinMain.cppC:\Program Files\DevStudio\MyProjects\Astroids\WinMain.cpp(96) : warning C4101: ''buffer'' : unreferenced local variableC:\Program Files\DevStudio\MyProjects\Astroids\WinMain.cpp(223) : error C2039: ''SetPalette'' : is not a member of ''IDirectDraw7''   c:\dxsdk\include\ddraw.h(1243) : see declaration of ''IDirectDraw7''Error executing cl.exe.Astroids.exe - 1 error(s), 1 warning(s)Atleast I got DirectX to work! lol!    John DiSanti of Santi Productions.  
  You are attempting to call IDirectDraw7::SetPalette instead of IDirectDrawSurface7::SetPalette.  The IDirectDraw7 interface has no method named SetPalette and that is why you are getting the error during compile time.