Le 1 juil. 08 à 11:24, Толя Макаров a écrit :

Jean-Daniel Dupas.


I
want to know if  loginwindow.app is started up at the moment, after
this my program enters a password. Sometimes I enter password myself
and my program should know that loginwindow.app has finished its work.

Makarov Anatolii.


That said, using this snippet with the QA sample code it see "loginwindow" in the output:

int main(int argc, char **argv) {
  size_t procCount = 0;
  kinfo_proc *procList = NULL;
  GetBSDProcessList(&procList, &procCount);
  int i;
  for (i = 0; i < procCount; i++) {
    printf("%s\n", procList[i].kp_proc.p_comm);
  }
  return 0;
}


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to