Thread: Invisible Console

  1. #1
    Registered User gavra's Avatar
    Join Date
    Jun 2008
    Posts
    265

    Invisible Console

    How may I make my program (in console) to be invisible?
    (I mean running the program on background [and keeping the ability to get input from the user])

    thanks [:
    gavra.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Ok, so keeping the ability to get input from the user is not possible if you use FreeConsole.

    Can you describe what you are actually trying to achieve in a bigger picture?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    You want to run the program as a service.

    This is all Windows programming of course. Check on the Windows forums or MS Library for all the details.

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by Adak View Post
    You want to run the program as a service.

    This is all Windows programming of course. Check on the Windows forums or MS Library for all the details.
    But you won't be able to "get input from the user" that way either, are you?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    If the service intercepted and passed on the keyboard and mouse input, why not?

  6. #6
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by Adak View Post
    If the service intercepted and passed on the keyboard and mouse input, why not?
    Yes, of course.

    I'm still interested in hearing what the actual project is, then we can give better advice.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  7. #7
    Registered User gavra's Avatar
    Join Date
    Jun 2008
    Posts
    265
    Initially all the idea was to hide the console window cuz I used the BGI window (for input & output) but then I thought "what about input?" (if I hadn't use the BGI window..)
    gavra.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Full Screen Console
    By St0rmTroop3er in forum C++ Programming
    Replies: 1
    Last Post: 09-26-2005, 09:59 PM
  2. Problems with a simple console game
    By DZeek in forum C++ Programming
    Replies: 9
    Last Post: 03-06-2005, 02:02 PM
  3. Console Functions Help
    By Artist_of_dream in forum C++ Programming
    Replies: 9
    Last Post: 12-04-2004, 03:44 AM
  4. How to make an invisible form or console
    By il96 in forum Windows Programming
    Replies: 4
    Last Post: 03-13-2004, 03:34 AM
  5. Just one Question?
    By Irish-Slasher in forum C++ Programming
    Replies: 6
    Last Post: 02-12-2002, 10:19 AM