Ken Yes, that is an option I have considered. But, if I understand this correctly, it would mean resolving some hundred symbols through dlsym and providing a glue function for each of them. Right?
(One other option I have just discovered is to place a symlink file in ~/lib, which seems to be in the search path of the dynamic library loader. Any thoughts about this?) Kurt On 2. Oct 2010, at 10:29, Ken Thomases wrote: > On Oct 1, 2010, at 11:49 PM, Kurt Sutter wrote: > >> In our application, the user should be able to change the version of a >> library that the application is linked to. > > Don't link to the library/framework. Dynamically load it (dlopen, dlsym, > etc.), instead. Granted, this is a pain in the neck compared to linking, but > it reflects the dynamism that you want. > > Regards, > Ken > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com