Thread: Console in Background

  1. #1
    Unregistered
    Guest

    Console in Background

    I am working on a server application and I was wondering if there was anyway I could allow the console program to run in the background without having it appear in the bar at the bottom of the screen?

    Thanks

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    If you mean windows, then create a Win32 Application and dont create a window.....

  3. #3
    Unregistered
    Guest

    Well...

    I considered that but I was hoping that I wouldn't have to do that... I am pritty sure that it can be done. I have seen it. Can anyone help?

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    479
    how can u see it when it isn't showing!?

  5. #5
    Registered User Dual-Catfish's Avatar
    Join Date
    Sep 2001
    Posts
    802
    The best I can think of is having it minimize to the system tray (by the clock)
    Sorry, I have no idea how to do this, but it should give you an idea what to look for.

  6. #6
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    What's wrong with the Win32 option???

    Just use

    Code:
    int WINAPI WinMain(HINSTANCE hThisInstance, 
    HINSTANCE hPrevInstance, LPSTR lpszArgument, int nShow)
    instead of

    Code:
    int main(void)
    And compile as a Win32 App.....

  7. #7
    Unregistered
    Guest

    Already Wrote It in Console

    I know it probably wouldn't be too hard to move it to a win32 but I was hoping I wouldn't have to. Oh well thanks anyway!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Run in background - No console
    By Govalant in forum C Programming
    Replies: 6
    Last Post: 08-05-2007, 04:07 PM
  2. console background
    By abyu in forum C++ Programming
    Replies: 3
    Last Post: 11-04-2006, 07:50 PM
  3. Full Screen Console
    By St0rmTroop3er in forum C++ Programming
    Replies: 1
    Last Post: 09-26-2005, 09:59 PM
  4. how to change background color in console mode
    By smore in forum C++ Programming
    Replies: 1
    Last Post: 12-02-2003, 01:44 PM
  5. Just one Question?
    By Irish-Slasher in forum C++ Programming
    Replies: 6
    Last Post: 02-12-2002, 10:19 AM