I use PChar to store the data in the loading procedure of the texture, TcxtHeader is just being used to store the data incase i need it, like in the GetBitmap function.

I know that the texture is being saved and loaded correctly in the class because it works fine in OpenGL.

But im not sure if i am using it properly.. When the texture is loaded at the end when i set the TcxtHeader information i just use
[pascal]
Header.Data := Data;
[/pascal]
Them both being PChar's.

When i view the texture using TImage all i get is a plain white rectangle the size of the texture, but with well no texture :?