DDObject.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw7
Release/Stars.exe : fatal error LNK1120: 1 unresolved externals
As far as I can tell everything is OK. Why is it upset about this symbol? I've gone through and removed any old versions of the DirectX headers and libraries that were on the machine, but that didn't help (solved some other problems however). Here is the whole line of code:
HRESULT hr = DirectDrawCreateEx(NULL,(LPVOID *)&DDObj,IID_IDirectDraw7,NULL);
Any ideas? I'm sure it is something simple and/or stupid but I'm just not seeing it.