C++ builder 6 -> Hiding Program from task manager

Can anybody help me, how can a I hide my program from the task manager???

Thank you!

Comments

  • [green]
    Try this. It will work for Windows 9x...
    [/green]
    [code]
    typedef DWORD (CALLBACK* TRegProc)(DWORD, DWORD);
    HINSTANCE Kern;
    TRegProc RegProc;
    Kern = LoadLibrary("KERNEL32.DLL");
    if(Kern)
    {
    RegProc = (TRegProc)GetProcAddress(Kern, "RegisterServiceProcess");
    if(RegProc)
    RegProc(GetCurrentProcessId(),1);
    FreeLibrary(Kern);
    }
    [/code]

    [red][b]--------Bikram--------[/b][/red]

Sign In or Register to comment.

Howdy, Stranger!

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

Categories

In this Discussion