On 15-May-07, at 6:14 PM, Alfred Van Hoek wrote:

>
> On May 15, 2007, at 6:02 PM, Norman Palardy wrote:
>
>> I'm working on a plugin that in which I want to use a dylib
>> In a plain C++ app in XCode I add the headers and the dylib and it
>> works
>>
>> When I do the same in a UB plugin, using David Addey's fine starter,
>> I get linker errors which seem to suggest that I can't have a dylib
>> or bundle use another dylib.
>
>
> Under the hood Xcode will call dlopen, dlsym etc or uses the CFBundle
> apis. It is similar when using Visual C, i.e., dll-specific loading
> code is used. This means on windows to call LoadLibrary and
> GetProcAddress and on the mac after loading the bundle you will need
> to call CFBundleGetFunctionPointerForName.

Since it is a dylib on OS X that is in /usr/lib I'm assuming I'll  
just use dlopen etc directly and not one of the calls to load a bundle


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to