Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFBundleGetFunctionPointerForName returns NULL



A few lines of sample code may help us more.

What bundle ref. are you providing when you ask for the function?
What symbol are you trying to load, and what name is used to load it?
What does the structure of the bundle look like?  (The code has to be
in the right place in the bundle in order to be loaded.)

Kevin G.



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
References: 
 >CFBundleGetFunctionPointerForName returns NULL (From: Walter <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.