Results 1 to 8 of 8

Thread: generic catch-all error during runtime

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2010
    Location
    Singapore
    Posts
    156
    Thanks
    47
    Qt products
    Qt4
    Platforms
    Windows

    Question generic catch-all error during runtime

    I am getting runtime error as in attachment.
    Code :
    Qt Code:
    1. QDoubleSpinBox *AspinBox,*BspinBox,*CspinBox,*DspinBox;
    2. func( float&,float&,float&,float&);
    3. float a,b,c,d;
    4.  
    5. AspinBox= new QDoubleSpinBox;
    6. BspinBox= new QDoubleSpinBox;
    7. CspinBox= new QDoubleSpinBox;
    8. DspinBox= new QDoubleSpinBox;
    9.  
    10. a = AspinBox->cleanText().toFloat();
    11. b = BspinBox->cleanText().toFloat();
    12. c = CspinBox->cleanText().toFloat();
    13. d = DspinBox->cleanText().toFloat();
    14.  
    15. QString strA = QString::number( a );
    16. QMessageBox::about(this,tr("ED apical trim in mm #"),strA ); //value read back is correct
    17. func(a, b, c, d); //I guess this function is causing error
    To copy to clipboard, switch view to plain text mode 


    Error in attachment is read as :
    Application.exe has encountered a problem and needs to close. We are sorry for the inconvenience.
    If you were in the middle of something, the information you were working on might be lost.

    Please tell Microsoft about this problem.
    We have created an error report that you can send to us. We will treat this report as confidential and anonymous. To see what data this error report contains, click here.
    Attached Files Attached Files

Similar Threads

  1. Runtime Error
    By zawal in forum Qwt
    Replies: 10
    Last Post: 1st August 2009, 11:46
  2. Runtime error
    By nina1983 in forum Qt Programming
    Replies: 2
    Last Post: 11th September 2008, 15:37
  3. QT 4.4 runtime error
    By Ricochet in forum Newbie
    Replies: 1
    Last Post: 5th May 2008, 18:50
  4. runtime error
    By mickey in forum General Programming
    Replies: 10
    Last Post: 12th December 2006, 20:10
  5. runtime error
    By mickey in forum General Programming
    Replies: 1
    Last Post: 11th June 2006, 13:38

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.