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: Mach-O app calling CFM plug-in?



On Mon, 28 Aug 2006 15:23:26 -0700, Wyatt Webb <email@hidden>
wrote:
> In my code I call GetDiskFragment to find my CFM library. I then use
> FindSymbol to get the function pointer I want. Then I pass that to
> CFM2MachO. That gives me a Mach-O pointer I can now use.

The CFBundle API's will do all this for you. You only need to write the glue
code if the API you're calling requires a callback. That callback will have
to make the cross architecture call and you'll have to provide that glue
yourself.
-- 
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



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.