How to run an executable internally along with other background processes in the system during the startup?

Anonymous
2010-07-30T03:39:55+00:00

I have an executable file and i want it to run continuously with other system processes in the background.

Can u tell me how to do that?

Windows for home | Previous Windows versions | Apps

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

150 answers

Sort by: Most helpful
  1. Anonymous
    2010-08-02T17:51:37+00:00

    It is asking for subscription.

    Should i subscribe?

    What subsciption?


    Itknowledge24.com

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2010-08-02T17:50:59+00:00

    #include "CMD.h"

    and

    void CnewDlg::OnBnClickedButton2(){    CMD::() <--Function. }


    Itknowledge24.com

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-08-02T17:49:43+00:00

    It is asking for subscription.

    Should i subscribe?

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2010-08-02T17:47:17+00:00

    As you said i added header into the header files and cpp files into the source file and the image is below.

    What to do next?

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2010-08-02T17:45:38+00:00

    Ok if the user clicks yes then i want to display all the processes which is not responding.

    How to do that?

    If the user press No than i can use the system api in which i will use the command taskkill to kill the process.

    It is very complicated do to in C++, I haven't

    done that in C++ (I used C# classes and invoked a property

    inside an if-statement which give me true/false which helped

    me determine which process where NOT reponding and then

    include them to the list view control component).

    There are some articles that might help, in theory you might think

    about a Task Manager in C++:

    http://www.experts-exchange.com/Programming/Misc/Q_21591105.html

    http://www.rohitab.com/discuss/index.php?showtopic=29153

    Look at those examples, and see if you find anything that fits your needs.

    Check this as well, about new API:

    http://blogs.msdn.com/b/dixi/archive/2008/11/19/vista-application-recovery-and-restart-apis.aspx


    Itknowledge24.com

    Was this answer helpful?

    0 comments No comments