Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

hiding process in task manger

rashidirashidi Member Posts: 6
hello
i need to hide process in task manager in c++ builder6 or install my application as a service
thanks
rashidi

Comments

  • luckyboyluckyboy Member Posts: 105
    hi rashidi
    [code]
    Application->ShowMainForm = false;
    [/code]
    place the following line between he next two lines
    [code]
    Application->CreateForm(__classid(TForm1), &Form1);
    Application->Run();
    [/code]
    you may find these two lines in your Project CPP file, usually called Project1.cpp
    have fun
    Mohammad Nasim
  • rashidirashidi Member Posts: 6
    hello mohammad

    i will hide my application in the application tab of microsoft windows task manager.your code hide main form of application but i want show this form

    thanks

    morteza rashidi
  • luckyboyluckyboy Member Posts: 105
    well, try to assign a negative value to the process ID (PID)
    this is the general idea to make your process hidden and many viruses uses this technique, but really, i don't know how to accomplish that
    see ya
    Mohammad Nasim
Sign In or Register to comment.