Re: Fw: GetSharedLibrary
Re: Fw: GetSharedLibrary
- Subject: Re: Fw: GetSharedLibrary
- From: Daniel Jalkut <email@hidden>
- Date: Sun, 6 Jul 2003 10:28:22 -0700
If you got "not found" from GetSharedLibrary when the CFM library is in
/Library/CFMSupport, then you should definitely file a bug. This was
the most unlikely place for you to find me, but I am the engineer who
did most of the development for CFM on X between the initial beta
release and 10.2. Note that I am no longer working on it, however.
I don't want to be the "arrogant engineer", and say it's impossible
that your bug is legitimate, but let me just say for elucidation
purposes that the only thing different about how CFM looks for
libraries in /Library/CFMSupport than how it looks in
/System/Library/CFMSupport, or in the framework itself, is the path.
This code has been hammered on everytime anybody inside or outside
Apple has called GetSharedLibrary since 10.0. So if your bug is
legitimate, then there is something "different" about the name or
structure of your library.
I you are getting a "not found" bug then its HIGHLY likely that there
is actually something wrong with your library. Especially since your
precision in describing the problem seems to indicate a bit of
unfamiliarity with the system, it would probably be best to hold off on
reporting a bug.
It may be that the error you're getting is not as helpful as it could
be, but I would check for some obvious stuff:
-> Does your library have a resource fork (if not bundled)? Does the
resource fork contain a "cfrg" resource?
-> Does your library have a resource file (if bundled)? Does that
resource file have a "cfrg" resource?
-> Does your library look good to PEFViewer?
(/Developer/Tools/PEFViewer).
-> Does your library have a file type "shlb" if not bundled? File
extension ".cfm" if bundled?
-> Are you calling GetSharedLibrary on the library name? (not the file
name, which might be different, especially if one file contains
multiple libraries)
Good luck,
Daniel
On Friday, July 4, 2003, at 03:17 PM, Brian Willoughby wrote:
[ Sorry for not being specific... The error code was the same when
[ the library was placed in the right place, i.e.
[ /Library/CFMSupport
Ah, if you got "not found" as an error code when the library was in
/Library/CFMSupport, then I think you should report this as a bug to
Apple. I
did not realize that you were getting "not found" when the file was in
the
right location.
_______________________________________________
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.