Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
How to run c++ prog in background
Name: aditya Date: December 25, 2005 at 22:18:46 Pacific OS: Windows CPU/Ram: 128 MB RAM, P-4
Comment:
Hi,
I have a program that is used to backup several files. And it runs constantly. I have made this program in c++. I m using windows.h only.
I want to run this application background everytime the computer login. Means nothing shud come in task bar and no window sud open. Please tell me what code sud I add to my program to make it invisible.
Name: ghostdog Date: December 26, 2005 at 05:59:05 Pacific
Reply:
it's not making it invisible, just making it run as a service everytime the computer starts. I am not into Windows programming/C++ programming, but a random check on the web shows me a website you can reference http://www.muukka.net/programming/service.html hope it can guide you a bit.good luck
0
Response Number 2
Name: tommycoolman Date: December 27, 2005 at 13:01:01 Pacific
Reply:
Is this a Win32 Console program, or an actual Win32 Application?
In a Win32 Application, the ShowWindow() function tells Windows how to display the window of your program. Without it, the window (and it's corresponding taskbar) would not show. Or you could use ShowWindow() to hide your window by using the SW_HIDE parameter. As for running the program everytime Windows starts, it's as simple as putting a shortcut in your startup folder.
If this is a Win32 Console program, then I think you would have to re-write the code to a Win32 Appliction in order to eliminate the black console window.
Summary: Hai friends, Say i run some system command in perl like this `c:\\My_folder\\My_programs\\my_app.exe`; `c:\\winnt\\notepad.exe`; Now my_app.exe could take 1 or two minustes to run. But irrespective of...
Summary: hi i am not able to compile my C/C++ program in edit plus. i use turbo c compiler. usually i run my program in DOS mode. but today, i downloaded editplus and set the compilers path according to edit...
Summary: does anyone know how to clear a textbox in asp.net using visualstudio 2002 version in C#. I have used the visual studio version 2003 and in the help files there is a method. But it does not run in the...