Results 1 to 20 of 53

Thread: How To Redirect The Console Output To A Text Browser/pop Up

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2006
    Posts
    68
    Thanks
    10
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How To Redirect The Console Output To A Text Browser/pop Up

    I added "CONFIG+=console". Now when I run the console black window appears and after sometime The eror message appears as

    16 Bit MSODS Subsystem
    c:\WINDOWS\system32\ntvdm.exe
    Error while setting up environment for the application.Choose 'close'to terminate the application

    You are correct the problem is 16 bit v/s 32 bit only
    Recompiling cjpeg.exe is out of question .
    What do I do?
    Why this 16 bit exe otherwise executes through my program since I do get the end results but I am not able to catch the error messages.
    Any way please tell me a way out now since the problem seems to be pinpointed .
    Last edited by deekayt; 10th December 2006 at 01:32. Reason: spelling mistake

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How To Redirect The Console Output To A Text Browser/pop Up

    Why is recompiling out of question?

    The problem is that this application seems to be very old and doesn't behave correctly when used with QProcess. The problem is with the cjpeg and not with your Qt application.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How To Redirect The Console Output To A Text Browser/pop Up

    Quote Originally Posted by deekayt View Post
    The eror message appears as
    16 Bit MSODS Subsystem
    c:\WINDOWS\system32\ntvdm.exe
    Error while setting up environment for the application.Choose 'close'to terminate the application
    You can run your application in windows 95 compatibility mode. You can set that when you right-click on the executable and choose Properties (or something similar) from the menu.

    Quote Originally Posted by deekayt View Post
    Recompiling cjpeg.exe is out of question .
    Why? You are not going to change it.

Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 09:49
  2. No output to console
    By Morea in forum Newbie
    Replies: 6
    Last Post: 1st November 2007, 22:51
  3. No console output in Mac OSX using Qt4
    By popoholic in forum Qt Programming
    Replies: 2
    Last Post: 26th September 2006, 01:36

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.