GLut and MFC

Hi,
I wonder if anyone has any experince in using GLut in a MFC project. Then, how is it possible to set a Glutwindow as subwindow for a MFC-window? How do you initialize the GLut-window, since it needs the argc and argv parameters? Any other tips on this matter?
Thanks. /Jo

It’s not possible to combine MFC and glut the way you want. They are two separate frameworks. You can use MFC stuff like CStrings in a Glut project, or use glut primitives in an MFC window, but combining both glut and MFC for the same window just isn’t possible.