Results 1 to 7 of 7

Thread: Ending processes through code in Windoze?

  1. #1

    Thread Starter
    Addicted Member killer_cobra's Avatar
    Join Date
    Jun 2001
    Location
    Lost in space
    Posts
    131

    Ending processes through code in Windoze?

    Hi,
    just wondering if someone could tell me if there is a way to list, set priority of and end processes through code just like the Task Manager in Win 2000? (not Just the running apps, but background processes as well).

    This would be much appreciated...

    Thanx a million in advance...

    Scott
    Error... What Error?!?! I've only typed a single character!
    ______________________________
    VB 6.0 EE, Win 2k Pro on AMD Duron 1Ghz/ 384 MB SDRAM

  2. #2
    Fanatic Member dongaman's Avatar
    Join Date
    Aug 2001
    Location
    xi'an
    Posts
    616
    In win2k or winNT,if a app run at kernel mode,you can't end it.
    You app is run at non_kernel mode.
    It is a system protect method
    I am just aman.

  3. #3

    Thread Starter
    Addicted Member killer_cobra's Avatar
    Join Date
    Jun 2001
    Location
    Lost in space
    Posts
    131

    I already know this...

    Hi, thanx for the reply. I already know that my program is not run at kernel mode. I just want to know how to list, set priorities and end processes that aren't in kernel mode. I know it is possible to do this in Win 9x as well, as I have an app that will do it in all versions of windoze after 3x. I would like to do thi from my app too.

    Thnx
    Error... What Error?!?! I've only typed a single character!
    ______________________________
    VB 6.0 EE, Win 2k Pro on AMD Duron 1Ghz/ 384 MB SDRAM

  4. #4
    Fanatic Member dongaman's Avatar
    Join Date
    Aug 2001
    Location
    xi'an
    Posts
    616
    I have make a demo app,and posted it on the forums.You can download and try it.
    I am just aman.

  5. #5
    Addicted Member
    Join Date
    May 1999
    Posts
    161
    Dongaman... where is that post ?

    Thanks

  6. #6
    Fanatic Member dongaman's Avatar
    Join Date
    Aug 2001
    Location
    xi'an
    Posts
    616
    It still have bug,when i finish it ,i will post it again.thanks
    I am just aman.

  7. #7
    Fanatic Member dongaman's Avatar
    Join Date
    Aug 2001
    Location
    xi'an
    Posts
    616
    OK.I fixed some bug.
    It now can only terminate general app.
    I am just aman.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width