   Problem: D3DXCreateTextureFromFile & RPG Prog D8
  So I''m working through Jim Adams RPG book and I seem to be getting an error when I try to compile his code for his "2DDrawing" sample from Chapter 6 with VS .NET 2002.  Here''s the code in question that comes into error and the errors that follow.  I couldn''t find anything on the forums about anyone else having getting this wrong, so I feel dumb.  The first thing I checked was the location of the Texture.bmp and it is in the folder that my projet is in.  I also tried putting it in the root drive and putting in the location to that.   // Direct3D and Device ObjectsIDirect3D8*g_pD3D= NULL;IDirect3DDevice8*g_pD3DDevice= NULL;// TextureIDirect3DTexture8*g_pTexture = NULL;// other stuffBOOL DoInit(){D3DPRESENT_PARAMETERSd3dpp;D3DDISPLAYMODEd3ddm;   // Other stuff   D3DXCreateTextureFromFile(g_pD3DDevice, "Texture.bmp", &g_pTexture);}The errors are (only linking errors given)...1) 2DDrawing error LNK2019: unresolved external symbol _D3DXCreateTextureFromFileA@12 referenced in function "int __cdecl DoInit(void)" (?DoInit@@YAHXZ)2) 2DDrawing error LNK2019: unresolved external symbol _Direct3DCreate8@4 referenced in function "int __cdecl DoInit(void)" (?DoInit@@YAHXZ)3) 2DDrawing fatal error LNK1120: 2 unresolved externalssorry if this seems vague, I don''t know how much of the code sample is allowable to be posted online.  I was mainly just hoping someone who went through this book might have had the same problem and know how to fix it.Thanks for any help. 
  Easy, you arent linking to the .lib(s) looks like you ARE linking to d3d8.lib, but you also need d3dx8.lib (to use CreateTextureFromFile) by the way, the CreateTextureFromFileEx gives you much more control, i prefer it (just a thought), but yah, thats all you should need 