Bundle identifiers
Bundle identifiers
- Subject: Bundle identifiers
- From: "Yves Peneveyre" <email@hidden>
- Date: Sat, 11 May 2002 09:51:30 +0200
Hello all !
I would like to launch an application with its bundle identifier.
Or, at least, I would like to know where is the application corresponding to
a bundle identifier.
I tried to use the Core Foundation but it does not work.
For example, I tried the following code :
CFBundleRef myBundle;
CFURLRef myRef;
myBundle = CFBundleGetBundleWithIdentifier(CFSTR("com.apple.calculator"));
myRef = CFBundleCopyBundleURL(myBundle);
In this code, CFBundleGetBundleWithIdentifier return a null value.
Why ?
And, finally, does it exist a way to do that with Cocoa ?
Thank you very much for your help.
Best Regards
Yves Peneveyre
----------------------------------------------------------------
Yves Peneveyre direct line : ++41 21 802 5754
Software Engineer fax : ++41 21 802 5751
LooKware development Ltd phone : ++41 21 802 5750
6B, ch du Trisi email: email@hidden
CH - 1028 Priverenges web:
http://www.lookware.ch
----------------------------------------------------------------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.