   d3dxcreatetexturefromfileex not working with relative paths?
  I'm not getting why this isn't working, so maybe you guys can enlighten me.When I use D3DXGetInfoFromFile() everything works just fine. but when I use D3DXCreateTextureFromFileEx() is never succeeds. The debugger tells me that dx can't find the file path.The path I'm using is "Data/Texture.bmp", and the program is being run from the same folder that the Data folder is in? Shouldn't it work or am I restricted to using absolute paths?   
  The current directory is not always the directory that the executable is located in. You can use GetCurrentDirectory to find out what the current directory is.   