ok, problem fixed. turns out i didnt have this line here..

Dim CKey As DDCOLORKEY

duh..

and i didnt need that 'SURF_tsetup.GetPixelFormat pf' line either, no idea what it does, but its gone...

but yea thanks for all the help anyways Sastraxi and Machaira

later
tim