• 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
How can I peer into a dynamic library to view the headers/contents?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can I peer into a dynamic library to view the headers/contents?


  • Subject: How can I peer into a dynamic library to view the headers/contents?
  • From: "Frederick C. Lee" <email@hidden>
  • Date: Mon, 11 Apr 2005 11:56:57 -0700

Greetings:
I'm a neophyte trying to working with dynamic libraries imported into my XCode project. Specifically, I'm trying to import libshp.dylib that I had imported via DarwinPorts:


[/Users/Ric]ls /opt/local/lib/*shp*
/opt/local/lib/libshp.1.2.10.dylib /opt/local/lib/libshp.1.dylib@ /opt/local/lib/libshp.dylib@


1) I like to peer inside of a dylib to see what APIs are available and hence how to incorporate it into my Obj-C Code (what do I #import ?)
2) How I can link the particular dylib into my project:
Do I merely set the LIBRARY_SEARCH_PATHS = /opt/local/lib {via Build/Link option}?


I'm stuck here.

I have it set via the LIBRARY_SEARCH_PATHS and it compiles; but I don't know what to use in the #import stmt nor how to peek inside the dylib to see what's there to import.

Regards,
Ric.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: How can I peer into a dynamic library to view the headers/contents?
      • From: Mike Ferris <email@hidden>
  • Prev by Date: Re: NSBezierPath geometry question...
  • Next by Date: Re: Launched window not activating
  • Previous by thread: Cocoa and modality (was: modal over modal)
  • Next by thread: Re: How can I peer into a dynamic library to view the headers/contents?
  • Index(es):
    • Date
    • Thread