• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Login/Logout: Big LaunchServices issue.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Login/Logout: Big LaunchServices issue.


  • Subject: Login/Logout: Big LaunchServices issue.
  • From: Stéphane Sudre <email@hidden>
  • Date: Wed, 17 Oct 2001 17:02:09 +0200

Let's explain the issue.

I have a CoreFoundation boot process and a Cocoa Background Application

When an user is login, the boot process can launch the Cocoa Background Application to display a dialog or alert.

This is working well and not.

The first time the boot process launches the Cocoa Background Application it's working. Perfect.

Now if the user logout and then login again, the Cocoa background Application can't be launched again by the boot process. Yet it can be launched by another way, double clicking on it for instance.

To launch the Cocoa Application, I'm using the LaunchServices API and the second time (when it's no more working): LSOpenFromURLSpec returns with an error: 268435459 (which is not documented anywhere).

From what I've understood, when the user logout, the Window server kills the Cocoa Application since it has some connection with the Window Server. That's fine with me since I maintain the application status in the boot process.
But it seems something bad is happening in the same time and I don't have the slightest idea of what it can be (and worse I haven't found any workaround after a lot of crazy experiments).


  • Follow-Ups:
    • question about NSOutlineView first column values
      • From: "Nick Emery" <email@hidden>
    • Re: Login/Logout: Big LaunchServices issue.
      • From: Markus Hitter <email@hidden>
    • Offscreen work
      • From: "Dave MacLachlan" <email@hidden>
  • Prev by Date: Re: Beginner's questions (and an NSForm/IB question)
  • Next by Date: Help with pasteboard
  • Previous by thread: Security issue.
  • Next by thread: Offscreen work
  • Index(es):
    • Date
    • Thread