| View previous topic :: View next topic |
| Author |
Message |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Thu Nov 16, 2006 10:54 pm Post subject: Process identifier. |
|
|
How can i get the process identifier of a running exe? I remember something about it here before but I cannot find anything.
thanks _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Fri Nov 17, 2006 12:16 am Post subject: |
|
|
call library function GetCurrentProcID() from the kernel32.dll library.
Returns the process id of the calling process. _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Fri Nov 17, 2006 12:35 am Post subject: |
|
|
Chris,
VDS has built in LIST commands for this. Take a look at List Modules and List TaskList.
Bill,
The GetCurrentProcID only returns the current process ID. Meaning the ID associated with the Exe that called the GetCurrentProcID.
[/code] _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
|