Re: Fw: GetSharedLibrary
Re: Fw: GetSharedLibrary
- Subject: Re: Fw: GetSharedLibrary
- From: "Michael Olsen" <email@hidden>
- Date: Sat, 5 Jul 2003 00:09:20 +0100
- Organization: IK Multimedia
Thanks for all your suggestions, but just to be sure that everyone understands:
This problem was solved many hours ago... As I said, OSX returned a wrong error code, which confused me.
>
[ 2: I used GetSharedLibrary(...) with "\pSampleTank.vpa" as the
>
[ file name.
>
>
Is there a reason you're using Pascal strings? I'm primarily a Cocoa
>
developer, so perhaps this is a silly question.
Yes, Carbon needs pascal strings for a lot of calls.
>
[ 3: The system couldn't find it, even though /Library was supposed
>
[ to be in the search path
>
[ 4: Turned out it was a bug in OSX, which caused it to return the
>
[ wrong error code to me (error code was "can't find library", but
>
[ the real problem was that the library was found, but had
>
[ unresolved references)
>
>
I'm not so sure that this is a bug in OSX. You are not supposed to place
>
anything directly in /Library/, so the system really could not find the library
>
in the location where you placed it.
Sorry for not being specific... The error code was the same when the library was placed in the right place, i.e. /Library/CFMSupport
And the error message, which was supposed to be a name of the library not found, was
"<SampleTanke.vpa><SampleTank.vpa><UnicodeSupport>" (or something like that).
Pretty funky, uh? : )
Rgds,
Michael Olsen
email@hidden
_______________________________________________
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.