Re: Fw: GetSharedLibrary
Re: Fw: GetSharedLibrary
- Subject: Re: Fw: GetSharedLibrary
- From: Chris Reed <email@hidden>
- Date: Sun, 6 Jul 2003 15:36:37 -0500
On Sunday, Jul 6, 2003, at 12:28 US/Central, Daniel Jalkut wrote:
[snip]
-> Are you calling GetSharedLibrary on the library name? (not the file
name, which might be different, especially if one file contains
multiple libraries)
I'd recommend paying particular attention to this point. If you're
building with CodeWarrior, open up the target prefs and go to the PPC
PEF panel and make sure you are passing the value set for the Fragment
Name field into GetSharedLibrary.
One reason I recommend using GetDiskFragment instead of
GetSharedLibrary is this difference. Because GetSharedLibrary uses the
search path to look for the fragment name and not the file name, it can
sometimes get confusing. But it does provide a great deal of
flexibility when working with things like system libraries, or
libraries shared between applications. GetDiskFragment gives you direct
control over which file the code fragment comes from.
-chris
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.