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 


Process List c++

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

Joined: 13 Jun 2007
Posts: 80

PostPosted: Tue Jul 03, 2007 6:25 pm    Post subject: Process List c++ Reply with quote

Im trying to get a process list similar to the open process dialog in CE. I am using c++ and psapi, but get the following error in bcb:


[Linker Error] Unresolved external 'EnumProcesses' referenced from C:\DOCUMENTS AND SETTINGS\MIDLASH.DELL5150\DESKTOP\BIOX\MAINFORM.OBJ

im not sure if my source is necessary, it seems like a linker setting that i am missing...

_________________
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Tue Jul 03, 2007 6:51 pm    Post subject: Reply with quote

link to psapi.lib

alternatively you could just use LoadLibrary and GetProcAddress
Back to top
View user's profile Send private message
Varreon
Advanced Cheater
Reputation: 0

Joined: 13 Jun 2007
Posts: 80

PostPosted: Tue Jul 03, 2007 6:56 pm    Post subject: Reply with quote

I figured it would be something like that. Any idea how to change linker options in bcb? Is psapi.dll in the windows folder?
_________________
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Tue Jul 03, 2007 6:58 pm    Post subject: Reply with quote

Well I've never used the IDE but it's extremely easy if you compile by the command line.

And yes, psapi.dll is in the windows folder.
Back to top
View user's profile Send private message
Varreon
Advanced Cheater
Reputation: 0

Joined: 13 Jun 2007
Posts: 80

PostPosted: Wed Jul 04, 2007 7:42 am    Post subject: Reply with quote

how would you go about doing it via command line?

*edit:*
the bcb interface is almost exactly like the delphi one. I know that they are different languages, but if someone knew how to do it in delphi, id like to know!
*end edit*

_________________
Back to top
View user's profile Send private message
fatal rival
How do I cheat?
Reputation: 0

Joined: 08 Jul 2007
Posts: 8

PostPosted: Mon Jul 09, 2007 11:05 am    Post subject: Reply with quote

google the error and there will be answers
Back to top
View user's profile Send private message
Varreon
Advanced Cheater
Reputation: 0

Joined: 13 Jun 2007
Posts: 80

PostPosted: Mon Jul 09, 2007 9:41 pm    Post subject: Reply with quote

I always google stuff before coming here. I searched once more, and cannot find the solution. Do I need to install the PSDK as well? It seemed like everything was already set up with BCB, but I dont know.
_________________
Back to top
View user's profile Send private message
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