Temporary OGL Context

Hello,

I am writing a class, using OpenGL and GLUT.
And I want, that the constructor of my class is called before glut initialises a window.
Does anybody now, how to create a “temporary” rendering context to run my Constructor before any glut* - calls?

Thanks

     A027298