Yes I did and it returns false, the console reports that it can't find the
executable.
On 11/29/07 8:01 PM, "Jack Small" <email@hidden> wrote:
> Did you try calling CFBundleLoadExecutable(newbundle)? Isn't always
> necessary but in some situations it is...
>
> More later,
> Jack
>
> On Nov 29, 2007, at 3:59 PM, Walter wrote:
>
>> Ok, I feel pretty silly for not checking the console log. There was
>> an
>> error:
>> Cannot find executable for CFBundle 0x3f38fe50 <(full path
>> omitted)/MyApp.app/Contents/Frameworks/MyFramework.framework> (not
>> loaded)
>>
>> Why would a bundle not be able to find its executable? Is there
>> something
>> else I need to do?
>>
>> I have another application (MyApp) that uses this same framework
>> without any
>> issues (although it links directly to it).
>>
>> If it makes any difference, I'm trying to load this framework in
>> folder
>> MyApp.app/Contents/Frameworks from an InDesign CS3 plug-in.
>>
>> Walter
>>
>> On 11/27/07 7:42 PM, "Walter" <email@hidden> wrote:
>>
>>> I'm having problems figuring out whats wrong in my application.
>>> When I call
>>> CFBundleGetFunctionPointerForName it always returns NULL. I've
>>> validated
>>> that everything is universal binaries. I used the names that I
>>> retrieved
>>> from otool, but it still returns NULL. All of the functions that
>>> I'm trying
>>> to load are declared as extern "C". The bundle is loading
>>> correctly and I'm
>>> not getting any errors.
>>>
>>> Anyone have any ideas of what to look at next?
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Carbon-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/carbon-dev/email@hidden
>>>
>>> This email sent to email@hidden
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Carbon-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/carbon-dev/email@hidden
>>
>> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden