GLUT is really great, it handle all windows messages (which is a headache to do manually!) But I want to have the extra power of win32 api. That's doesn't seem to be possible when the program enters into glutmainloop().
The alternative is to use glutCheckLoop(). I wasn't able to get it to work! I think I need to amend glut source code when it goes into the loop (for (; ) but I don't have glut source code! the files I have for glut are:
-glut.h: contains functions prototypes, constants definitions, pre-processor code...etc -but NO functions' code!
-glut32.lib: contains compiled glut code to be used during compilation.
-glut32.dll: contains complied glut code to be used at run time.
I think I need to get glut source code and regenerate glut32.lib (and maybe glut32.dll as well)
I need to do this on VC++ can any1 help?
thanks in advance