> Hi, That first version dosn't work, the crash still happens and I don't > know why, this is what I'm trying now, but it won't compile, see the line > below: My guess is that your pointer to the vertex data isn't valid. You're not error checking the LockVertexBuffer() call for a start - are you sure it's not failing? -- gl