Howto convert a console-application into a windows one?

This is a discussion on Howto convert a console-application into a windows one? within the Windows Programming forums, part of the Platform Specific Boards category; Hi there! Is there any way of executing external command-line application withought showing the command-line? I need to create a ...

  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    3

    Howto eliminate console-window when calling external executables?

    Hi there!

    Is there any way of executing external command-line application withought showing the command-line?
    I need to create a program that incooperates with several different external utilities and every time I call an external application the command-line window is shown :-(

    Any ideas are welcome!

    Thank you in advance, lg Clemens
    Last edited by Linuxhippy; 06-22-2005 at 03:53 AM. Reason: title not correct

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    Use CreateProcess to start the console application. For the dwCreationFlags argument, specify the CREATE_NO_WINDOW flag.
    Quote Originally Posted by MSDN
    CREATE_NO_WINDOW
    This flag is valid only when starting a console application. If set, the console application is run without a console window. This flag cannot be used with MS-DOS-based applications.
    Windows Me/98/95: This value is not supported.

  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    3

    Thanks!

    Thanks a lot - this is EXACTLY what I've been searching for!

    Thanks, thanks, thanks ;-)

    lg Clemens

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. console screen (Windows)
    By hakan in forum C++ Programming
    Replies: 1
    Last Post: 03-12-2008, 06:35 AM
  2. Windows apps verses Console apps
    By nano78 in forum Windows Programming
    Replies: 8
    Last Post: 09-22-2007, 03:41 AM
  3. (Gnome) X Windows Application Issue
    By stickdeoderant in forum Linux Programming
    Replies: 0
    Last Post: 05-21-2007, 10:41 AM
  4. Windows form application and Windows application
    By |Wiz| in forum Windows Programming
    Replies: 5
    Last Post: 10-01-2005, 04:14 PM
  5. Menu Item Caption - /a for right aligned Accelerator?
    By JasonD in forum Windows Programming
    Replies: 6
    Last Post: 06-25-2003, 11:14 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21