Was using the wrong .dll, got it working at last.

Thank you FA, I will look into that. Have found getting into DirectX rather frustrating thus far but will persevere.