• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
path to dylib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

path to dylib


  • Subject: path to dylib
  • From: Dmitry Markman <email@hidden>
  • Date: Wed, 25 Feb 2004 00:34:58 -0500

Hi

is it possible to get path to dylib in runtime from within dylib's function?
for example I have application foo
dynamic library foo.dylib


and function void foo(void) that I store in the foo.dylib

application foo load foo.dylib and eventually will call method foo

so I'd like to discover foo.dylib absolute path from within method foo


AFAIK in Windows it's possible via DLLMain and GetModuleFileName


thanks in advance

Dmitry Markman
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Application runs in xcode but not on its own
  • Next by Date: Re: Application runs in xcode but not on its own
  • Previous by thread: Re: Application runs in xcode but not on its own
  • Next by thread: Re: path to dylib
  • Index(es):
    • Date
    • Thread