I just got the DX 9 SDK and I followed the excellent tutorials, and made a triangle with three colors blended together. It works just fine, but when I exit the program, I get a "Direct X Testing.exe has encountered a problem and needs to close. We are sorry for the inconvenience."
I've included the source file. Sorry for its ugliness, I just threw it together real fast (probably why this is occuring)