Fixed two problems with the stylecode pre-build event. Using CD does not work when projects are not stored on the C drive. Placing an exit 0 at the end of the batch file stops a massive pile of silly errors being reported by the compiler. Missing include for DX10 define is added.
Revert "Fixed two problems with the stylecode pre-build event. Using CD does not work when projects are not stored on the C drive. Placing an exit 0 at the end of the batch file stops a massive pile of silly errors being reported by the compiler. Missing include for DX10 define is added."

This reverts commit 32d3341f51c12672a7794e42dc03b33c6e3ace87.
Fixed two problems with the stylecode pre-build event. Using CD does not work when projects are not stored on the C drive. Placing an exit 0 at the end of the batch file stops a massive pile of silly errors being reported by the compiler. Missing include for DX10 define is added.
Merge pull request #2 from ivanhawkes/buildfixes

Buildfixes