• 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
Re: Loading mach-o shared libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading mach-o shared libraries


  • Subject: Re: Loading mach-o shared libraries
  • From: Bob Ippolito <email@hidden>
  • Date: Thu, 10 Jun 2004 12:21:05 -0400

On Jun 10, 2004, at 11:07 AM, Mark Thomas wrote:

> Thanks, these to to track down the proc in the shared library a treat,
> but
> if I try to call it, I get an exception (EXC_BAD_ACCESS) :-(,
>
> I've enclosed of basically, what I'm doing which I have done similar
> things
> in CFM and windows and worked ok, so wondering why here its not
> happening.
> (I'm also doing this from Coca if that matters).

NSSymbol is not a direct pointer to your function, so of course calling
it will explode. You need to use NSAddressOfSymbol on the symbol to
get the address..

-bob

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Loading mach-o shared libraries (From: Mark Thomas <email@hidden>)

  • Prev by Date: Re: two things (newbie)
  • Next by Date: Re: newbie questions about objective-c, ruby, python, groovy and cocoa
  • Previous by thread: Re: Loading mach-o shared libraries
  • Next by thread: Re-formatting NSString
  • Index(es):
    • Date
    • Thread