Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Call CFM shlb from Cocoa



On Tuesday, September 30, 2003, at 10:10 AM, John Tsombakos wrote:

The easiest way would be to wrap your shared library in a bundle and use CFBundle; it will handle the cross-ABI issues for you. If this is not feasible, you can call CFM code from Mach-o code with a small amount of assembly glue--look in the documentation for the cross-fragment calling sequence.

I didn't create the shared library - can I still wrap it into a bundle? All I have is the .shlb file. The assembly glue part might be a bit over my head unfortunatly, but I'll check it out.

Wrapping it in a bundle is simply a matter of putting it into the appropriate directory structure, so yes, if you have the file and can control where it is installed, you can bundle it.

Douglas Davidson
_______________________________________________
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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.