btw Clootie is there some documentation on the clootie
cous i have to search most of the f() and vars in the headers which is not very fast
Yes, its' called MS DirectX SDK: http://msdn.microsoft.com/directx. But for D3DFramework there is not much of it.

About erros....
You need: [pascal]TKeyBuff = array [0..255] of char;
[/pascal]