Acquiring the process ID (Written by:Moogle)
 
int process_id;

process_id = proc();

//Note that the proc process returns it's ID when the first frame
//statement in the process is reached. If the process returns a 
//value, process_id will hold that returned value and not the ID.
  Back to Snippets

Home : Start Here : Sources : Snippets : Tutorials : Faq's : Links : Contact