glVertexPointer(parameters)?

MSDN do says it takes 5 parameters. gl/gl.h says it takes 4 params. The vertex count parameter is missing in gl.h. Whay is that? Which is correct?
Also I can’t run my app (runtime error).

Well spotted MSDN is wrong. You would have found that out if you tried to compile it with 5 params I imagine. M$ is not the biggest OpenGL fan so maybe they messed up on purpose? If you want information about your app, you’ll have to post more information. What’s the error? Any compilation warnings? What’s the compiler? etc…

Hope that helps.

It didnt’t compile with 5 params.
The error was just illegal pointer (as usual) and it works now fine. Thanks!