Hiding The Console...

This is a discussion on Hiding The Console... within the C++ Programming forums, part of the General Programming Boards category; Hey guys... I'm running a exe file using the system command Code: system("HINSTALL.EXE -i"); When I use this command an ...

  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    4

    Hiding The Console...

    Hey guys...

    I'm running a exe file using the system command

    Code:
    system("HINSTALL.EXE -i");
    When I use this command an annoying console window pops. Anyone knows how I can hide this window? thanks.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,484
    Use the better methods of running another process, as outlined in the FAQ.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    For sure, they don't call it the FAQ for nothin. Use CreateProcess().

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Hiding the Console
    By Rare177 in forum C Programming
    Replies: 4
    Last Post: 06-09-2004, 12:34 PM
  2. Hiding the Console Cursor
    By XSquared in forum C Programming
    Replies: 1
    Last Post: 08-29-2003, 12:52 AM
  3. Hiding the console - extended
    By Korhedron in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2003, 02:59 PM
  4. Hiding the console.
    By knave in forum C++ Programming
    Replies: 3
    Last Post: 07-10-2003, 12:19 AM
  5. Hiding the console window?
    By XenoCodex Admin in forum C++ Programming
    Replies: 6
    Last Post: 06-23-2002, 04:08 PM

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