Mailing Lists: Apple Mailing Lists

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

Path to Shared Library?



How can my shared library discover its own location on disk at runtime?

I can get the path to the host application (using GetProcessBundleLocation()), but the relative path from the application to the library may not be constant. (The shared may be used by several applications, for which the relative paths may be different.) Any ideas how I can this?

Thanks,
Ben

_______________________________________________
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


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.