Re: Open Framework library : by using the name
Re: Open Framework library : by using the name
- Subject: Re: Open Framework library : by using the name
- From: Christiaan Hofman <email@hidden>
- Date: Wed, 17 Nov 2010 11:09:36 +0100
On Nov 17, 2010, at 8:42, trilok nuwal wrote:
I am opening framework library "CoreServices" as below.
dlopen("/System/Library/Frameworks/CoreServices.framework/CoreServices", RTLD_GLOBAL | RTLD_NOW);
Here I am giving full path of library, Is it any API I can use to get the full path just by giving name "CoreServices" so that I can make it more secure and can avoid any problem in the future as far as library path is concerned.
Or do we have any other api to so this in better way.
Thanks -Trilok
Well, you can simply link to the library? Why don't you?
Christiaan
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden