View Full Version : glutInit() in MFC applicatons

09-28-2005, 02:49 PM
Hello all,

I'm new to openGL and am trying to run a simple openGL program in an MFC application. The openGL program works when using glutInit(&argc, argv). However, I'm unclear on how to use glutInit in a MFC environment where &argc and argv are not supported. Any help would be appreciated. Thanks.

09-30-2005, 03:49 AM
MFC and GLUT dont mix so well since they are both event handling frameworks. Use either MFC or GLUT but safe yourself from the headache of mixing them.