Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / May 2008



Tip: Looking for answers? Try searching our database.

how to do as @loader_path?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Armel - 26 May 2008 14:22 GMT
Hello all,

I am relatively new to Mac OS X development, I had the following problem to
solve: loading a dynamic library which should be located inside the
"application.app/Contents/MacOS" folder. I develop on 10.5 and used
@loader_path.

I could not find if it is supported in 10.4 or not :(.
Is it supported? if not how can I do something similar?

Regards
Armel
Gregory Weston - 26 May 2008 14:42 GMT
> Hello all,
>
[quoted text clipped - 5 lines]
> I could not find if it is supported in 10.4 or not :(.
> Is it supported? if not how can I do something similar?

@loader_path was introduced in 10.4.

If you're supporting older OS versions, you have to use @executable_path
which isn't quite as broadly useful but, from your description, should
work for your needs.

Signature

"Harry?" Ron's voice was a mere whisper. "Do you smell something ... burning?"
  - Harry Potter and the Odor of the Phoenix

Armel - 26 May 2008 14:52 GMT
>> Hello all,
>>
[quoted text clipped - 12 lines]
> which isn't quite as broadly useful but, from your description, should
> work for your needs.
OK cool.

thx
Armel
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.