   Woah my computer just scared me
  I was just changing things in my game. I dadded a new textured object but the texture was always white. After a while I tried changing the texture of another object and it didnt change in the game. Then I realized that my app was loading the textures from a former copy of my project. Im using MFC and directX and it seems that when I use CFileDialog the folder specified is saved and also used by DirectX to load the textures. Weird. What can I do to make DirectX stay in the folder of the executable?-CProgrammer 
  OFN_NOCHANGEDIR ;  Ah perfect thanks. 