Original Post
this is the line that's being called my_sprite.lpDDS = my_sprite.lpCD->GetDDrawSurface(); but pretty much my_sprite.lpCD->GetDDrawSurface() is the error this is the function in a public section of a class LPDIRECTDRAWSURFACE7 GetDDrawSurface() { return m_pdds; } m_pdds is a private directdraw object in the class CSurface and i'm trying to use it in the class CDisplay. Maybe I'm doing this incorrectly, advice is greatly appreciated.