• 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
Re: Problem with NSWorkspaceDidMountNotification and FSResolveAlias()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with NSWorkspaceDidMountNotification and FSResolveAlias()


  • Subject: Re: Problem with NSWorkspaceDidMountNotification and FSResolveAlias()
  • From: Ken Tozier <email@hidden>
  • Date: Mon, 28 Aug 2006 00:47:39 -0400


On Feb 9, 2006, at 11:00 PM, Laurent Daudelin wrote:

I'm trying to use NSWorkspaceDidMountNotification after mounting a disk
using FSResolveAlias() but it doesn't seem to work. If I mount a disk from
the Finder, then the method I register when I add my controller object as an
observer to the NSWorkspaceDidMountNotification is called. But if I try to
use FSResolveAlias() with a valid alias from within my code, the disk mounts
but my method is never called.


Am I missing something or is this a known issue?

Carbon functions probably don't post Cocoa messages. Wherever you call FSResolveAlias() in your code, you could just send your own message to your controller listener.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Re: Respond to Click in TextView
  • Next by Date: Re: Respond to Click in TextView
  • Previous by thread: Artifacts during text selection
  • Next by thread: getting bytes from NSData appends some special characters at the end
  • Index(es):
    • Date
    • Thread