This is what it says on MSDN, for changing display modes in DirectX 7:
ddrval = lpDD->SetDisplayMode(640, 480, 8);
I stuck that into my compiler, and it spat out an error, something along the lines of "SetDisplayMode() doesn't take 3 parameters". I looked it up on my MSVC help, and it said that it took 5 parameters, except that it was "IDirectDraw2::SetDisplayMode()". It fixed when I used 5 parameters, but the IDirectDraw2 looks bad. Is there anything wrong with what I'm doing?

This is another bit of code of mine:
Code:
DirectDrawCreateEx(NULL, (void**)&ddraw, IID_IDirectDraw7, NULL)
On MSDN, it says that if I put anything other than IID_IDirectDraw7, it will choke and die. But my linker choked and died anyways It says that "_IID_IDirectDraw7" is an "unresolved external symbol". Am I forgetting a header or something? I have ddraw.h included.