I would recommend you - as I recommend to anyone having problems with basic OpenGL features, to use GLScene (www.glscene.org). Easy to use, no problems there, and you may use the given examples.