Re: Loading mach-o shared libraries
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.