+ Reply to Thread
Showing results 1 to 11 of 11

Thread: SC Process Handle

  1. #1
    Retired Staff Member

    Saint
    llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod's Avatar
    Join Date
    Jul 2004
    Posts
    6,020

    Default SC Process Handle

    I had to get the SC process handle in order to use WriteProcessMemory, and I had to use VB to get it. I found the process ID using Process Explorer, then make a VB script to get the process handle from it. Does anyone know a way to get a process handle from C++?
    NEWS YOU CAN USE. IF YOU CHOOSE NOT TO USE THIS NEWS YOU WILL BE KILLED.

  2. #2
    F7 F1EF Senior Member
    Retired Staff Member

    Crusader
    bulk_4me has much to be proud of bulk_4me has much to be proud of bulk_4me has much to be proud of bulk_4me has much to be proud of bulk_4me has much to be proud of bulk_4me has much to be proud of bulk_4me's Avatar
    Join Date
    Jun 2004
    Location
    Torreón, Coah. México
    Posts
    3,318
    Blog Entries
    1

    Default

    FindWindow(ClassName, WindowTitle)

  3. #3
    Senior Member
    Retired Staff Member

    Saint
    Perma has disabled reputation Perma's Avatar
    Join Date
    Jul 2004
    Location
    Canada
    Posts
    6,434
    Blog Entries
    2

    Default

    Is that not the Visual Basic method of getting the process handle?

  4. #4
    F7 F1EF Senior Member
    Retired Staff Member

    Crusader
    bulk_4me has much to be proud of bulk_4me has much to be proud of bulk_4me has much to be proud of bulk_4me has much to be proud of bulk_4me has much to be proud of bulk_4me has much to be proud of bulk_4me's Avatar
    Join Date
    Jun 2004
    Location
    Torreón, Coah. México
    Posts
    3,318
    Blog Entries
    1

    Default

    Oops.. I read VB somewhere in the post.. Read this http://www.ghu.as.ro/ghtuts/un1.htm

  5. #5
    Senior Member
    Retired Staff Member

    Saint
    Perma has disabled reputation Perma's Avatar
    Join Date
    Jul 2004
    Location
    Canada
    Posts
    6,434
    Blog Entries
    2

    Default

    Lol that's alright. I don't know anything about C++ so I wouldn't have known the difference, but I was pretty sure it's syntax was totally different.

  6. #6
    Bass > Guitar Retired Staff Member

    Enlightened
    Fish Beans is just really nice Fish Beans is just really nice Fish Beans's Avatar
    Join Date
    Jul 2004
    Location
    Hell, Alabama
    Posts
    3,006

    Default

    FindWindow gets a window handle, you use OpenProcess to get a process handle.
    This space still for rent.

  7. #7
    ?▪▫▪ PaRaNoiA EvOlUtIoN ▪▫▪? Senior Member

    Messiah
    Dr. Silence is a glorious beacon of light Dr. Silence is a glorious beacon of light Dr. Silence is a glorious beacon of light Dr. Silence's Avatar
    Join Date
    Jun 2004
    Location
    Dumpster (bearcave)
    Posts
    8,962

    Default

    Sigh some day i will understand this. but then again i shall google it.

    http://www.google.com.au/search?hl=e...e+Search&meta=

    the truth has been revealed.

  8. #8
    What ever it takes! Retired Staff Member

    Blessed
    c0ke is a splendid one to behold c0ke is a splendid one to behold c0ke is a splendid one to behold c0ke is a splendid one to behold c0ke is a splendid one to behold c0ke is a splendid one to behold c0ke's Avatar
    Join Date
    Jan 1970
    Location
    New Jersey
    Posts
    2,287

    Default

    Don't post more bull**** or you will be on mod preview.

  9. #9
    Retired Staff Member

    Saint
    llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod has a reputation beyond repute llafnwod's Avatar
    Join Date
    Jul 2004
    Posts
    6,020

    Default

    Quote Originally Posted by c0ke
    Don't post more bull**** or you will be on mod preview.
    Me or Silence?
    EDIT: Permaphrost, Killer Kevin says thanks. You sent him a virus that he ctrl+alt+deleted, and he tricked his parents into thinking the virus destroyed the computer, so now he's getting a new one. He said it, not me, don't shoot the messenger.
    Last edited by llafnwod : 10-18-2004 at 11:49 PM
    NEWS YOU CAN USE. IF YOU CHOOSE NOT TO USE THIS NEWS YOU WILL BE KILLED.

  10. #10
    Bass > Guitar Retired Staff Member

    Enlightened
    Fish Beans is just really nice Fish Beans is just really nice Fish Beans's Avatar
    Join Date
    Jul 2004
    Location
    Hell, Alabama
    Posts
    3,006

    Default

    Next time, use a PM.
    This space still for rent.

  11. #11
    Senior Member
    Retired Staff Member

    Saint
    Perma has disabled reputation Perma's Avatar
    Join Date
    Jul 2004
    Location
    Canada
    Posts
    6,434
    Blog Entries
    2

    Default

    Quote Originally Posted by llafnwod
    Me or Silence?
    EDIT: Permaphrost, Killer Kevin says thanks. You sent him a virus that he ctrl+alt+deleted, and he tricked his parents into thinking the virus destroyed the computer, so now he's getting a new one. He said it, not me, don't shoot the messenger.
    My apologies, Fish Beans, this will be the only post regarding this I do in public.

    I have several private messages on my home forums that suggest different; about the troubles Killer_Kevin is having, and how he needs my help to fix it. I don't care if he gets a new computer or not, it's his punishment for leaking a crash hack that was between him and myself that his computer got raped.

    I'll think twice before giving out anything again. Appreciate the update. ;)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Making Hacks in C++
    By Fish Beans in forum Hacking Tutorials
    Replies: 5
    Last Post: 03-06-2009, 10:50 PM
  2. programming hacks in C?
    By pariah in forum Software Development
    Replies: 7
    Last Post: 04-07-2005, 05:29 AM
  3. C++ Crash Course Difficulties
    By HelplessNewbie in forum Software Development
    Replies: 24
    Last Post: 03-03-2005, 06:50 PM
  4. HANDLE in VC++ .NET
    By llafnwod in forum Software Development
    Replies: 12
    Last Post: 12-04-2004, 08:05 AM
  5. Crash Problem
    By hba in forum Starcraft/Brood War
    Replies: 15
    Last Post: 12-01-2004, 12:54 AM

Posting Rules

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