Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Help PLEEEAASSEE!

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2003
    Posts
    3

    Help PLEEEAASSEE!

    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

  2. #2
    Intern Contributor
    Join Date
    Aug 2001
    Posts
    83

    Re: Help PLEEEAASSEE!

    Uhm... this ain't the right forum
    Try the opengl developer forums to get some help... this forum is only for END USERS... not programmers.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •