Thanks for your help everyone.

I will let you know how we get on. Dan is almost back from holidays and he knows his directx quite well. I will ask him to create a solution.