• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CFBundleRef for a dylib?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >CFBundleRef for a dylib? (From: Alfred Van Hoek <email@hidden>)

  • Prev by Date: Re: Speeding up XCode?
  • Next by Date: Creating a "service"
  • Previous by thread: CFBundleRef for a dylib?
  • Next by thread: Creating a "service"
  • Index(es):
    • Date
    • Thread