• 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: Fw: GetSharedLibrary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Fw: GetSharedLibrary
      • From: Lars Peters <email@hidden>
References: 
 >Re: Fw: GetSharedLibrary (From: Marc Poirier <email@hidden>)
 >Re: Fw: GetSharedLibrary (From: "Michael Olsen" <email@hidden>)

  • Prev by Date: RE: Constants in AUVParameter.cpp
  • Next by Date: Re: Fw: GetSharedLibrary
  • Previous by thread: Re: Fw: GetSharedLibrary
  • Next by thread: Re: Fw: GetSharedLibrary
  • Index(es):
    • Date
    • Thread