   How to include the texture file into .exe?
  I use VS 2005 Pro.How can I include the texture like a resource and make directx use it? Still now I use D3DXCreateTextureFromFileEx()..but I need that the texture file to be in the same directory with the .exe.How can I include the texture into the .exe?   
  Now I now.D3DXCreateTextureFromResourceEx();Thanks to DirectX SDK Documentation   ;  For that function to work properly your resources needs to be a "data" resource (RT_DATA, IIRC) as described in Chapter 15. D3DX Utility Library, section 15.10.4 in my book.   