How do I make a c++ program run in the background with no window?
Thanks
Printable View
How do I make a c++ program run in the background with no window?
Thanks
Write a GUI program without the GUI. Since you neglected to mention your OS, I can't really be more specific. But we have both a Linux and a Windows forum that could add more detail if you use one of them.
Windows with MSVS 6.
I thought of that, but I was wondering if there was a command like KillConsoleWindow() because I would like to have the console for the first part of the program if possible.Quote:
Write a GUI program without the GUI.
Why would you want a program running w/o someone knowing it was running? If you are wanting to write Systray programs, check the SDK. For drivers check the DDK.
For other programs that run w/o the user knowing about it, consult the FBI.
You need to create a Win32 Application, but make sure it's not a Console application - that automatically creates the console window.
This way, you can, for example, run as a system service. (Apache for example has no window and no SysTray icon (the one you see is a separate app) - perfectly harmless application.)
yeah..theres nuffin wrong with it...u might want to intergrate an opensource app..like a renderer..in your program..but might not want its window running..instead..u might want the render to happen inside your program..i suppose it makes ur app look for professional.
BTW: Im a total noobi..How would u du this in OSX?
Cheers
Alex