[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: OSX and loadlib
- From: Sam Roberts <vieuxtech@...>
- Date: Wed, 4 Mar 2009 14:04:52 -0800
On Wed, Mar 4, 2009 at 1:23 PM, Wesley Smith <firstname.lastname@example.org> wrote:
> Actually dlopen is not ideal on OSX. It wreaks havoc with
> CoreAudio/CoreMidi type frameworks whereas NSLoadModule functions
> behave appropriately. From what I remember reading the tech docs,
> they highly recommended NSLoadModule over dlopen and from my
> experience this is sage advice.
Apple's developer docs claim use of NSLoadModule is discouraged in
preference to dlopen:
Not that Apple's advice necessarily applies to every circumstance.