With Dx9, the f suffix is only valid on floating point numbers (to my knowledge).

Try this:
VertexShaderConstant[18]={1.0f,1.0f,1.0f,1.0f};


-Rhuarc


I no longer post on these forums, keep in touch with me via:
Linkedin.com
My MSDN blog