Results 1 to 11 of 11

Thread: cant make program run C++ gui programming

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2009
    Posts
    151
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    6
    Thanked 13 Times in 11 Posts

    Default Re: cant make program run C++ gui programming

    Interesting, the CreateProcess() message is actually generated by Windows not QT.

    It usually means that there is a problem using long filenames, what version of Windows are you running, have you installed all the service packs?

    You could try putting quotes around your file names, or make sure that they are unique upto any spaces.

    A typical culprit that causes this error is "Program".
    Versions of Windows that suffer from this problem can not tell the difference between "Program files", "Program folders" etc unless they are quoted.

  2. #2
    Join Date
    Jan 2010
    Posts
    63
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: cant make program run C++ gui programming

    I have XP PRO with all the service packs installed

  3. #3
    Join Date
    Oct 2009
    Posts
    151
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    6
    Thanked 13 Times in 11 Posts

    Default Re: cant make program run C++ gui programming

    Did you get any other output?

    I believe that error 123 signifies that there is something wrong with a Volume, Folder or File name and
    error 2 means that something (probably a file) can not be found.

    Do any of the paths contain Unix style '/' instead of '\' ?

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    6
    Thanked 348 Times in 333 Posts

    Default Re: cant make program run C++ gui programming

    If those are Windows error codes, then http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx

    ERROR_INVALID_NAME
    123 (0x7B)
    The filename, directory name, or volume label syntax is incorrect.

    ERROR_FILE_NOT_FOUND
    2 (0x2)
    The system cannot find the file specified.

    Also, "debug/FindDialog.o" doesn't look like a valid path to me for a Windows OS.

Similar Threads

  1. Replies: 6
    Last Post: 10th March 2011, 16:42
  2. Replies: 7
    Last Post: 19th January 2008, 15:29
  3. How do I make a program out of my program?
    By Randulf in forum Newbie
    Replies: 1
    Last Post: 29th May 2007, 11:11
  4. How to make my program wait for 2 seconds ?
    By probine in forum Qt Programming
    Replies: 2
    Last Post: 26th December 2006, 13:31
  5. how to make program wait
    By psmech in forum Qt Programming
    Replies: 3
    Last Post: 26th May 2006, 05:24

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.