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.
That's good to know! Does it work on non-bundled plugins (e.g. 'cfrg' resource and data fork in one file)?
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.
_______________________________________________
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