Re: Problem with NSWorkspaceDidMountNotification and FSResolveAlias()
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