I'm going to ask a relatively general question.
I'm using VC++ 2010, programming a Direct X9 application with a shader component. The program compiles fine, it draws a lighted and textured square. The problem is that although the c++ end of the program works fine and alterations such as changing the lighting colours or texture positions work fine all alterations to the .fx file are ignored. In fact removing the file from the specified directory actually has no effect on the program.
Is this a compiler problem? Surely the HLSL file is not useless, I mean I'm passing variables to it so where could they be going?
main.cpp: mediafire.com/?9n4llrclcfohqfb
transform.fx: mediafire.com/?jqach463p2vcqhz
Wow this is actually quite shameful, it turns out that I forgot to edit the directory of the .fx file in the D3DXCreateEffectFromFile function so the file I was editing of course had no impact on the application. Thank you all for your help.