I've been using Visual C++ 2010 Express to experiment with the sample applications in the DirectX SDK.
These samples compile and run in their original folders within the SDK.
When I copy a folder containing a sample to another location the sample fails to compile - giving error messages about being unable to find files. (It's common-sense to make a copy before making any changes.)
I discovered the reason is Microsoft chose to use relative paths to the include, etc. files so they aren't found when the folder's moved. The only solution I've found is to go through the source and supporting files and change the paths manually.
Does anyone know of a better way?
These samples compile and run in their original folders within the SDK.
When I copy a folder containing a sample to another location the sample fails to compile - giving error messages about being unable to find files. (It's common-sense to make a copy before making any changes.)
I discovered the reason is Microsoft chose to use relative paths to the include, etc. files so they aren't found when the folder's moved. The only solution I've found is to go through the source and supporting files and change the paths manually.
Does anyone know of a better way?


