Then the question is where to continue, from your build (using dglOpenGL) or mine (using the built-in OpenGL). Yours crashes, mine runs but shows nothing. Not very easy to work from there I'm afraid.