Thread: Handles

Results 1 to 3 of 3
  1. #1
    Sapatao's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0

    Handles

    Hi guys, I'm from Brazil, I can not speak English so I use Google translator, I have a doubt in Visual Basic. I wonder how I do to delete these Handles by Visual Basic, if you get some code to do this I will be grateful for it fairly.

    graciously Sapatao


  2. #2
    atom0s's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    403
    Reputation
    139
    Thanks
    104
    Use the Process class to get a list of the threads currently in the process. That will give you access to the thread id's.
    Then you can use OpenThread API to obtain a handle to the thread, then use TerminateThread API to kill the thread.
    Be sure to close the handle you open as well with CloseHandle.

    pinvoke.net: openthread (kernel32)
    pinvoke.net: TerminateThread (kernel32)
    pinvoke.net: closehandle (kernel32)
    - Gone; this is another shit forum with children as administrators. Not worth contributing to.

  3. #3
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,669
    My Mood
    Breezy
    If you terminate those threads the process will close....
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

Similar Threads

  1. I'll handle the GFX Redo
    By arunforce in forum Art & Graphic Design
    Replies: 18
    Last Post: 07-13-2009, 07:06 AM
  2. Get Engine.exe Handle
    By crazyfool in forum Combat Arms Hacks & Cheats
    Replies: 6
    Last Post: 06-28-2009, 06:40 PM
  3. [Request] Get CA process Handle
    By crazyfool in forum Programming Tutorial Requests
    Replies: 2
    Last Post: 05-30-2009, 05:38 AM
  4. Replies: 31
    Last Post: 05-11-2009, 03:18 AM
  5. Chinese kids can't handle video games..
    By Dave84311 in forum General
    Replies: 23
    Last Post: 07-25-2006, 04:00 PM