Is there another way to initialize glew successfully (by glewInit(), without an no-gl-version-error) beside the way using glut to create a window.
I need to init glew for a library in that no window cration function exists. But of course I have access to the handle of that certain window where the program is supposed to run in.
You need to initialize GLEW after you create your OpenGL context, otherwise you’ll get error(s). See the GLEW documentation for additional information.