Thread: Window Hanging Problem

  1. #1
    Tha 1 Sick RAT
    Join Date
    Dec 2003
    Posts
    271

    Question Window Hanging Problem

    Anyone know why this code doesn't work?
    I'm absolutely new to Windows Programming and I only wanna learn enough to be able to do OpenGL.
    The problem started when I didn't set the hCursor member in the createGLWindow() function but as soon as I set it. It creates the window then hangs. everything compiles without warning or errors.

    (code is from tutorial by nehe @ http://nehe.gamedev.net)
    Thank you all for your time. Also the appropriate libraries are included in the windows created stdAfx.h and should you require it It's just the:
    Code:
    #include<windows.h>
    #include<gl/gl.h>    //Header for the OpenGL32 Library
    #include<gl/glu.h>   //Header for the GLu32 library
    #include<gl/glaux.h> //Header for the GLaux library
    libraries.
    Thank you all for your time

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    You yootes remind me of when I was a yoote.
    Code:
    while (!done);
    gg

  3. #3
    30 Helens Agree neandrake's Avatar
    Join Date
    Jan 2002
    Posts
    640
    Originally posted by Codeplug
    gg
    ok, I've seen this everywhere. does it really mean "good game" here too?
    Environment: OS X, GCC / G++
    Codes: Java, C#, C/C++
    AOL IM: neandrake, Email: neandrake (at) gmail (dot) com

  4. #4
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Those are my initials

    gg

  5. #5
    30 Helens Agree neandrake's Avatar
    Join Date
    Jan 2002
    Posts
    640
    LOL

    I could swear I saw other people on this board use them
    Environment: OS X, GCC / G++
    Codes: Java, C#, C/C++
    AOL IM: neandrake, Email: neandrake (at) gmail (dot) com

  6. #6
    Tha 1 Sick RAT
    Join Date
    Dec 2003
    Posts
    271
    You have gotta be kidding me!! I really hate programming thanks man.

  7. #7
    Magically delicious LuckY's Avatar
    Join Date
    Oct 2001
    Posts
    856
    Originally posted by Codeplug
    You yootes remind me of when I was a yoote.
    gg
    Excuse me, did you say "yoot?" What is a "yoot" Mister Galo?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C or C++
    By AcerN30 in forum Game Programming
    Replies: 41
    Last Post: 05-30-2008, 06:57 PM
  2. Why only 32x32? (OpenGL) [Please help]
    By Queatrix in forum Game Programming
    Replies: 2
    Last Post: 01-23-2006, 02:39 PM
  3. problem with open gl engine.
    By gell10 in forum Game Programming
    Replies: 1
    Last Post: 08-21-2003, 04:10 AM
  4. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 10:14 PM
  5. How to change window style at runtime?
    By Mr. Bitmap in forum Windows Programming
    Replies: 5
    Last Post: 06-09-2002, 04:49 PM