   DirectDrawCreateEx error
  Hi I'm having a problem that I have been searching on Google for awhile now for a solution.I have this code:hResult = DirectDrawCreateEx(NULL, (LPVOID *)&m_pDirectDraw, IID_IDirectDraw, NULL);if(hResult != DD_OK){  MessageBox(m_hWnd, "Could not create DirectDraw object.", "DirectX Error - DirectDraw", MB_OK);  strcpy(m_szErrorMsg, "InitDirectDraw()");  return hResult;}It compiles and links fine, but when i ran the debugger it picked up that the DirectDraw object is not being initialized. However, there is a check on it in that code and it returns fine.  I placed a watch on that DirectDrawCreateEx code and found the problem:CXX0017: Error: symbol "DirectDrawCreateEx" not found.I'm really stuck on this one, it compiled fine and linked fine, so does anyone know what this means?I'm using the DirectX 9.0b SDK and Visual Studio .NET 2003Thanks   
  That's very odd. Did you try rebuilding it? Missing symbol is a compile-time error, it shouldn't compile.   ;  I have to say the same like alnite, it is very odd that compiler is not barking but debugger is. Maybe DirectDrawCreateEx is working well only for DirectDraw7....LPDIRECTDRAW7 m_pDirectDraw7;...hResult = DirectDrawCreateEx(NULL, (LPVOID *)&m_pDirectDraw7, IID_IDirectDraw7, NULL);...[Edited by - risko on July 18, 2004 5:03:23 AM]