[no subject]
[no subject]
- Subject:
- From: Aandi Inston <email@hidden>
- Date: Tue, 19 Jan 2016 15:44:49 +0000
I have this handy routine:
int MacNSOpenFileWithDefaultApp ( char *path )
{
NSString *nsstring = [NSString stringWithUTF8String: path] ;
BOOL ok = [[NSWorkspace sharedWorkspace] openFile:nsstring] ;
return ok ;
}
Suppose we pass a folder name. The intention is to open the folder in the
Finder.
When the app is compiled as 32-bit and run on Mac OS 10.10.5, it opens the
folder
and returns 1.
But when the app is compiled as 64-bit and run on the same system, it still
opens the folder but returns 0.
Any ideas? Thanks in advance.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
- Follow-Ups:
- Re:
- From: Jake Petroules <email@hidden>