Hi Rob, Thanks for your help. I have found reason. There is the same application name in my computer, so I have to specify a full path for the appName parameter. Thank your again.
Lex 2009-06-10 08:36:08,"Rob Keniger" <r...@menumachine.com> wrote: > >On 08/06/2009, at 2:24 PM, anyflyer wrote: > >> I used openFile:withApplication: method to open a file, and it >> return YES. But actually the file isn't opened. >> And I found "GetImporterForFile Error-43" error information in >> Console Messages. I wonder if someone could tell me why? >> Thanks. > > >Error -43 is a file not found error (look in MacErrors.h). Please post >your code so we can see what you're trying to do. > >-- >Rob Keniger > > > >_______________________________________________ > >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/anyflyer%40126.com > >This email sent to anyfl...@126.com _______________________________________________ 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 arch...@mail-archive.com