![]() |
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 |
| Registered User Join Date: Apr 2003
Posts: 3
| What's the code for a program to run in Task manager, under the processes tab i want this certain program (in C) to run in the background, like it won't show up in the taskbar or the tray, it's just running as a service, is there and independant source code(that i can just insert my program code and combine the 2) that will make me be able to do this? also the only way to exit the program is by ctrl+alt+delete, processes, then end task thanks for taking your time to read this, all help is appreciated i have no idea what this thing i want to do is called, i tried searching, and i've been looking into some c programming books for about 4 days straight in my own time, but no luck, and this is the only place i can think of where i can get c programming help, sorry for the ignorance |
| newbie1 is offline | |
| | #2 |
| Unleashed Join Date: Sep 2001
Posts: 1,755
| Try the windows board for such a question. FWIW.. WinExec("Your program", SW_HIDE);
__________________ The world is waiting. I must leave you now. |
| Shadow is offline | |
| | #3 |
| Registered User Join Date: Apr 2003
Posts: 3
| it doesn't work, i know i'm probably doing this wrong...when i double click the file a the program window still pops up like: i want the "process code" to hide the program that it's "on" in the processes tab so when you double click the file, it automatically moves itself to the processes tab, and disappears out of site Last edited by newbie1; 04-16-2003 at 06:27 PM. |
| newbie1 is offline | |
| | #4 |
| Confused Join Date: Sep 2001 Location: Sweden
Posts: 3,122
| Doesn't all programs show up in the taskmanager? At least mine do (I know since sometimes they crash soooo hard ).If you don't want a window to show up, don't create one. With no window, it won't show up in the taskbar either (bottom of the screen).
__________________ MagosX.com Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime. |
| Magos is offline | |
| | #5 |
| Registered User Join Date: Apr 2003
Posts: 3
| yeah i'm not creating a window, it does that by default, any suggestions? |
| newbie1 is offline | |
| | #6 | |
| Confused Join Date: Sep 2001 Location: Sweden
Posts: 3,122
| Quote:
![]() How does that happen? What do you use? Try creating an empty project instead of starting off some template. Or remove all CreateWindow() / CreateDialog().
__________________ MagosX.com Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime. | |
| Magos is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re-doing a C program to run in Win2000 or XP | fifi | C Programming | 5 | 08-17-2007 05:32 PM |
| Help me with my basic program, nothing I create will run | Ravens'sWrath | C Programming | 31 | 05-13-2007 02:35 AM |
| Letting a program run as a task ( background ) | GanglyLamb | C# Programming | 5 | 12-01-2005 08:52 AM |
| Interface Question | smog890 | C Programming | 11 | 06-03-2002 05:06 PM |
| Trying to make rand different per program run | Dreamerv3 | C++ Programming | 6 | 01-18-2002 03:26 AM |