Results 1 to 3 of 3

Thread: Windows.h vs GLUT using .NET

  1. #1

    Windows.h vs GLUT using .NET

    An alternative that seems kind of suitable is to use windows.h for windows. This kind of takes away the advantage of GLUT since it is portable. The main code, which is OpenGL is portable so changing it would take some time but if you don't like GLUT or prefer not to use it or can't use it (as with .NET). Then it seems to be a sortable alternative. Linux comes with development kit for KDE and Qt.

    The reason GLUT won't compile with .NET is part of Microsofts evil masterplan to rule the world. Not really, but the seem to want to change every thing to give a bigger impression that they did a lot (which they did, finally some good products from Microsoft!). The real reason is because .NET doesn't like the x, y, and some other variables that don't keep it from compiling but keep the window from initalizing. I don't understand why they couldn't just keep the settings in the projects menu, it is there but you have to do some stuff to get it. The place is in the solutions, it is the icon at the top.

    I still like VC++ 6.0 since it has no problem with GLUT. GLUT is really great and all but doesn't work with .NET... yet. Someone could fix it but oh well.
    ------------------------
    Gold Dragon

  2. #2

    Re: Windows.h vs GLUT using .NET

    Well, if using the Native OS API is a good thing then I don't want to be right.

    Hmm, let me try this again. GLUT isn't bad, I just dislike the idea of not being able to wrap everything in a class. When I learn how to do classes that is.
    ------------------------
    Gold Dragon

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: Windows.h vs GLUT using .NET

    I am not sure what you are getting at, if you write a program with glut and do not use any MS windows calls you will be ok.

    The glut library has to be rewritten for each system it is used on.

    The glut library for windows, has windows calls, while the glut for linux library has x-windows calls.

    It is just the nature of some windows compilers that require you to have the windows.h defined out side of GLUT.

    Even thought in the GLUT.H header is a line #IF WIN32 #include<windows.h> #ENDIF

    Just have to rem it out or add a compiler if statement to check at compile time what computer system the source is being compiled on.

Similar Threads

  1. GLUT/windows.h
    By KeSh in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 09-13-2004, 12:15 PM
  2. NEED HELP IN GLUT IN WINDOWS!!!
    By alex_r in forum OpenGL: General
    Replies: 0
    Last Post: 08-19-2002, 08:47 AM
  3. GLUT in Windows 95
    By Starpost in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-04-2002, 07:12 PM
  4. 4 glut windows in 1
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 05-05-2002, 11:56 PM
  5. glut and windows.h
    By dosenpfand in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 07-24-2001, 07:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean