PDA

View Full Version : Help PLEEEAASSEE!



cell
10-13-2001, 03:45 PM
Hi! I have created an MFC Multiple Dialog Interface project and I want to incorporate OpenGl, by creating an OGL Window that coexists with others. I am using GLUT and I was trying to make a simple program until the following error ocurred:

" cannot convert parameter 1 from 'void (void)' to 'void (__cdecl *)(void)'"
The error was on the following statement:
glutDisplayFunc(display);

display was declared as:
" void CChildFrame::display(void) "

How can I make this work? I tried direct conversion but it doesn't work.

Can anyone help me?

Thanks a lot in advance. Cell

Villan007
10-17-2001, 05:14 PM
Uhm... this ain't the right forum http://www.opengl.org/discussion_boards/ubb/smile.gif
Try the opengl developer forums to get some help... this forum is only for END USERS... not programmers.