QT and Glut

Discussion in 'C Programming' started by hudi, Apr 11, 2010.

  1. hudi

    hudi

    Joined:
    Apr 11, 2010
    Messages:
    1
    hi I have a small problem. I make an aplication in Glut and now i need to transfer to Qt because in final project i need this aplikation in thread. And I have problem with function stop I try this:
    void Sporic::stop(){
    glutDestroyWindow(this->win);
    }

    but it isnt working. There is some of warning :
    First-chance exception at 0x1000bacd in sporic.exe: 0xC0000005: Access violation reading location 0x33725bb4.
    Unhandled exception at 0x1000bacd in sporic.exe: 0xC0000005: Access violation reading location 0x33725bb4.

    and then the aplication crashed.

    thx for help
     
    hudi, Apr 11, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Martin Magnusson

    GLUT callback registration (not quite OT)

    Martin Magnusson, Sep 5, 2003, in forum: C++
    Replies:
    1
    Views:
    507
    Ivan Vecerina
    Sep 6, 2003
  2. Bushido Hacks
    Replies:
    0
    Views:
    2,396
    Bushido Hacks
    Feb 20, 2005
  3. max(01)*

    python and glut

    max(01)*, May 4, 2005, in forum: Python
    Replies:
    9
    Views:
    913
    Marc 'BlackJack' Rintsch
    May 7, 2005
  4. guillem

    Glut and wxWidgets toghether

    guillem, Aug 16, 2006, in forum: C Programming
    Replies:
    0
    Views:
    2,036
    guillem
    Aug 16, 2006
  5. leandro nascimento camargo

    GLU and GLUT libs.

    leandro nascimento camargo, Sep 21, 2007, in forum: Ruby
    Replies:
    1
    Views:
    98
    Gregory Seidman
    Sep 21, 2007
Loading...

Share This Page