Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Microsoft C++ and OpenGL

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2003
    Posts
    4

    Microsoft C++ and OpenGL

    After installing Microsoft Visual C++ 6.0 my OpenGL drivers stopped responding. Any call to OpenGL functions results in an error. Both my code (which worked before) and commercial applications (games ect.) end up with a blank screen. Can it be fixed? Only uninstalling VC++ seems to help, but that isn't any solution.

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    2,704

    Re: Microsoft C++ and OpenGL

    Try the "user help" board.
    "If you can't afford to do something right,
    you'd better make sure you can afford to do it wrong!"

  3. #3
    Super Moderator OpenGL Guru
    Join Date
    Feb 2000
    Location
    Montreal, Canada
    Posts
    4,421

    Re: Microsoft C++ and OpenGL

    You have a unique machine then.

    What's your OS?
    ------------------------------
    Sig: http://glhlib.sourceforge.net
    an open source GLU replacement library. Much more modern than GLU.
    float matrix[16], inverse_matrix[16];
    glhLoadIdentityf2(matrix);
    glhTranslatef2(matrix, 0.0, 0.0, 5.0);
    glhRotateAboutXf2(matrix, angleInRadians);
    glhScalef2(matrix, 1.0, 1.0, -1.0);
    glhQuickInvertMatrixf2(matrix, inverse_matrix);
    glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
    glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

  4. #4
    Advanced Member Frequent Contributor
    Join Date
    Apr 2000
    Location
    Melbourne,Victoria,Australia
    Posts
    767

    Re: Microsoft C++ and OpenGL

    Originally posted by jwatte:
    Try the "user help" board.
    Damn fine idea...

    But heck, the question has VC++ (which you use for coding) and Opengl - and I guess once you get past installation of VC++ you're advanced.

    (Another idea would be to try reinstalling/updating your video card drivers - but I liked johns better)

  5. #5
    Junior Member Newbie
    Join Date
    Apr 2003
    Posts
    4

    Re: Microsoft C++ and OpenGL

    So, i guess you just have no idea what's wrong. Thanks for nothing anyway.

  6. #6
    Super Moderator OpenGL Guru
    Join Date
    Feb 2000
    Location
    Montreal, Canada
    Posts
    4,421

    Re: Microsoft C++ and OpenGL

    My pleasure ... and you still didnt mention your OS.
    ------------------------------
    Sig: http://glhlib.sourceforge.net
    an open source GLU replacement library. Much more modern than GLU.
    float matrix[16], inverse_matrix[16];
    glhLoadIdentityf2(matrix);
    glhTranslatef2(matrix, 0.0, 0.0, 5.0);
    glhRotateAboutXf2(matrix, angleInRadians);
    glhScalef2(matrix, 1.0, 1.0, -1.0);
    glhQuickInvertMatrixf2(matrix, inverse_matrix);
    glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
    glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

  7. #7
    Intern Contributor
    Join Date
    Sep 2002
    Location
    london, uk
    Posts
    64

    Re: Microsoft C++ and OpenGL

    (re)install the latest drivers for your video card and get the latest service pack for dev studio 6...

  8. #8
    Junior Member Newbie
    Join Date
    Mar 2003
    Location
    Sweden
    Posts
    11

    Re: Microsoft C++ and OpenGL

    Microsoft quality ei?
    I have never had problems with EEVC++ 6.0
    and OpenGL, but i think that DirectX has
    screwed up my AGP-port, since when i have
    my ATI Radeon plugged in PCI-cardīs can stopp
    functioning mysteriously (and you cant
    install or re-install any).

  9. #9
    Intern Contributor
    Join Date
    Jan 2003
    Posts
    88

    Re: Microsoft C++ and OpenGL

    Wilk their are some drivers out there that prevent debugging (ASUS comes to mind).

    Since when you install VC++ it registers itself as a debugger, well who knows, maybe your drivers dont even like that.

    Btw, you forgot to add some valueable info to your post like: what OS, what card, what kind of drivers...

    "It dont work, fix it for me" kind of questions arent very welcome here.

    [This message has been edited by HS (edited 04-24-2003).]

  10. #10
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    The Round Table at Camelot
    Posts
    1,537

    Re: Microsoft C++ and OpenGL

    Have you tried reinstalling your drivers or even installing newer ones if they exist? If that does not help contact the people who made your video card (ie NVIDIA, ATI, MATROX, etc) and tell them about it. Maybe they know of this problem already and can give you an easy fix.

    -SirKnight
    -SirKnight

Posting Permissions

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