| View previous topic :: View next topic |
| Author |
Message |
kikuvac Master Cheater
Reputation: 0
Joined: 09 Jan 2007 Posts: 320
|
Posted: Mon Mar 31, 2008 4:23 pm Post subject: (Visual Basic) Process handleing |
|
|
hey guys long time no post. well i need help with a thing called process handling. i need to be able to start of with a Private Function "Unknown call" ("User32") Byval or somthing like that.
cant seem to find it only in C# but i know Vb can handle that so i would like some help for my next release _________________
Respect for: Coders, Anti Spoon feeders, nice people.
MapleHost |
|
| Back to top |
|
 |
Estx Expert Cheater
Reputation: 0
Joined: 04 Mar 2008 Posts: 172
|
Posted: Mon Mar 31, 2008 7:46 pm Post subject: |
|
|
VB6 or .NET?
And are you looking for OpenProcess, TerminateProcess.. ? What?
What do you intend to do with process handling, that will make it easier to explain.
If you have VB.Net you can use the internal process functions from the System.Diagnostics.Process class. |
|
| Back to top |
|
 |
XxOsirisxX Grandmaster Cheater Supreme
Reputation: 0
Joined: 30 Oct 2006 Posts: 1597
|
Posted: Mon Mar 31, 2008 7:55 pm Post subject: |
|
|
If it's to close proccess, there are ways that don't even need to declare an API.
But any how...
at VB6 you have a API Viewer, where u can find any kind of API & more.. (Btw, the name of the parameter declaration dose'nt matter, what matters is the kind & # parameters allowed)
Anyhow, i did attached the .txt that contain the most of then.
It would be harden to find without the Viewwer i do believe, but always u can use the text find option. _________________
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Mon Mar 31, 2008 10:56 pm Post subject: |
|
|
VB6 API Reference and examples:
http://allapi.mentalis.org/apilist/apilist.php
Note that not every API is listed on this site, and not every API has an example. _________________
- Retired. |
|
| Back to top |
|
 |
kikuvac Master Cheater
Reputation: 0
Joined: 09 Jan 2007 Posts: 320
|
Posted: Mon Mar 31, 2008 11:51 pm Post subject: |
|
|
thankyou for replying but the api i am looking for is in VB6 and i am trying to see if a certain process is active but thankx for your time wiccan and everyone else. Heres what im trying to do
| Code: | | If unknown code = True Then Text1.Text = "Procsess active" |
thanks again. note you guys help me and im helping beginers as Rot1 said its a whole cycle _________________
Respect for: Coders, Anti Spoon feeders, nice people.
MapleHost |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Tue Apr 01, 2008 1:43 am Post subject: |
|
|
CreateToolhelp32Snapshot will allow you to obtain a 'snapshot' of the running processes on the system. You can filter through them using Process32First and Process32Next.
I wrote a trainer toolkit that uses these functions to locate a given process which you can find here:
http://home.comcast.net/~wiccaan/VB6_Trainer_Coding/VB6_Trainer_Toolkit.zip _________________
- Retired. |
|
| Back to top |
|
 |
coasterguy26 Expert Cheater
Reputation: 0
Joined: 09 Apr 2006 Posts: 180
|
Posted: Tue Apr 01, 2008 7:09 pm Post subject: |
|
|
| Thanks for uploading this, it really helped. |
|
| Back to top |
|
 |
rapion124 Grandmaster Cheater Supreme
Reputation: 0
Joined: 25 Mar 2007 Posts: 1095
|
Posted: Thu Apr 03, 2008 6:18 pm Post subject: |
|
|
| Or you can use EnumProcesses() from PSAPI. |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Apr 04, 2008 6:01 am Post subject: |
|
|
| rapion124 wrote: | | Or you can use EnumProcesses() from PSAPI. |
EnumProcesses usually leads to having to call more API to compare the hWnd against something. Such as calling FindWindow, GetWindowText, if injected, GetCurrentProcessId, and so on. Which is really unneeded. _________________
- Retired. |
|
| Back to top |
|
 |
|