Re: CFBundleRef for a dylib?
Re: CFBundleRef for a dylib?
- Subject: Re: CFBundleRef for a dylib?
- From: Chris Espinosa <email@hidden>
- Date: Mon, 17 Oct 2005 08:46:43 -0700
On Oct 17, 2005, at 8:12 AM, Alfred Van Hoek wrote:
What are the requirements to obtain a CFBundleRef for a dylib?
The following code:
<snip>
will work for QuickTime.plugin or other packages, but not if the FSRef
represents a .dylib. The dylib is not a package, the bundleURL
contains the name "myLib.dylib".
What's the correct protocol?
If you fail to get a CFBundleRef, then the FSRef doesn't point to a
bundle. You have to load the dylib using dlopen().
http://developer.apple.com/documentation/DeveloperTools/Reference/
MachOReference/Reference/chapter_1.2_section_2.html
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden