| View previous topic :: View next topic |
| Author |
Message |
Varreon Advanced Cheater
Reputation: 0
Joined: 13 Jun 2007 Posts: 80
|
Posted: Tue Jul 03, 2007 6:25 pm Post subject: Process List c++ |
|
|
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 |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Tue Jul 03, 2007 6:51 pm Post subject: |
|
|
link to psapi.lib
alternatively you could just use LoadLibrary and GetProcAddress
|
|
| Back to top |
|
 |
Varreon Advanced Cheater
Reputation: 0
Joined: 13 Jun 2007 Posts: 80
|
Posted: Tue Jul 03, 2007 6:56 pm Post subject: |
|
|
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 |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Tue Jul 03, 2007 6:58 pm Post subject: |
|
|
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 |
|
 |
Varreon Advanced Cheater
Reputation: 0
Joined: 13 Jun 2007 Posts: 80
|
Posted: Wed Jul 04, 2007 7:42 am Post subject: |
|
|
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 |
|
 |
fatal rival How do I cheat?
Reputation: 0
Joined: 08 Jul 2007 Posts: 8
|
Posted: Mon Jul 09, 2007 11:05 am Post subject: |
|
|
| google the error and there will be answers
|
|
| Back to top |
|
 |
Varreon Advanced Cheater
Reputation: 0
Joined: 13 Jun 2007 Posts: 80
|
Posted: Mon Jul 09, 2007 9:41 pm Post subject: |
|
|
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 |
|
 |
|