Howdy, Stranger!

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

Categories

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

eplxeplx Member Posts: 1
Can anybody help me, how can a I hide my program from the task manager???

Thank you!

Comments

  • bikibiki Member Posts: 492
    [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]

  • Justin BibJustin Bib USAMember Posts: 0

    _________ ( http://forcoder.org ) free ebooks and video tutorials about | JavaScript, Perl, Assembly, Visual Basic .NET, Scratch, PL/SQL, MATLAB, Ruby, PHP, Go, C++, Delphi, Swift, Visual Basic, Java, C#, R, Python, Objective-C, C Crystal, FoxPro, Scheme, ABAP, LabVIEW, D, Transact-SQL, Kotlin, Apex, Prolog, SAS, Lua, Ada, Fortran, ML, Awk, Rust, Julia, Erlang, Logo, VBScript, COBOL, Bash, Clojure, Alice, Lisp, Hack, F#, Dart, Scala | _____________

Sign In or Register to comment.