DirectX Shader Problems

Hey all. I have a DirectX9 program that shows a spinning cube. The cube is lit but I want to shade it using a shader that I wrote in HLSL. I looked online on how to import and use an effect from a file, but I can't find anything. Does anyone know how I can load my shader from the file in DirectX?

Thanks,
strych
Topic archived. No new replies allowed.