Is there a C API for finding the path to a file in an application bundle?
I know that this can be done in Objective-C with the following syntax.
NSS
you can get the main bundle via:
CFBundleRef mainBundle = CFBundleGetMainBundle();
full details here:
http://developer.apple.com/library/mac/#documentation/CoreFOundation/Conceptual/CFBundles/AccessingaBundlesContents/AccessingaBundlesContents.html