Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


(Visual Basic) Process handleing

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
kikuvac
Master Cheater
Reputation: 0

Joined: 09 Jan 2007
Posts: 320

PostPosted: Mon Mar 31, 2008 4:23 pm    Post subject: (Visual Basic) Process handleing Reply with quote

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
View user's profile Send private message
Estx
Expert Cheater
Reputation: 0

Joined: 04 Mar 2008
Posts: 172

PostPosted: Mon Mar 31, 2008 7:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
XxOsirisxX
Grandmaster Cheater Supreme
Reputation: 0

Joined: 30 Oct 2006
Posts: 1597

PostPosted: Mon Mar 31, 2008 7:55 pm    Post subject: Reply with quote

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.



The Extension 'rar' was deactivated by an board admin, therefore this Attachment is not displayed.


_________________

Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Mon Mar 31, 2008 10:56 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
kikuvac
Master Cheater
Reputation: 0

Joined: 09 Jan 2007
Posts: 320

PostPosted: Mon Mar 31, 2008 11:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Apr 01, 2008 1:43 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
coasterguy26
Expert Cheater
Reputation: 0

Joined: 09 Apr 2006
Posts: 180

PostPosted: Tue Apr 01, 2008 7:09 pm    Post subject: Reply with quote

Thanks for uploading this, it really helped.
Back to top
View user's profile Send private message
rapion124
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Mar 2007
Posts: 1095

PostPosted: Thu Apr 03, 2008 6:18 pm    Post subject: Reply with quote

Or you can use EnumProcesses() from PSAPI.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Apr 04, 2008 6:01 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites