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: How do I mix glut with win32 api code?

  1. #1
    Junior Member Newbie
    Join Date
    May 2002
    Posts
    3

    How do I mix glut with win32 api code?

    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
    Som

  2. #2
    Junior Member Regular Contributor
    Join Date
    Feb 2002
    Posts
    133

    Re: How do I mix glut with win32 api code?

    Originally posted by Somay:

    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
    Som
    Yep. That's right. I'd suggest downloading
    the win32 source from Nate Robin's site
    to work with. Good luck! You'll need it.

    Regards,
    Jim
    --
    Jim Mathies http://www.mathies.com/

    \"The best way to predict the future is to invent it."

Posting Permissions

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