From msdn:
void glVertexPointer(
GLint size,
GLenum type,
GLsizei stride,
GLsizei count,
const GLvoid *pointer
);

From the programming guide:
void glVertexPointer(GLint size, GLenum type, GLsizei stride,
const GLvoid *pointer);

Note the number of argument is not the same.
It make me lose an hour grrrr