Re: Mach-O app calling CFM plug-in?
Re: Mach-O app calling CFM plug-in?
- Subject: Re: Mach-O app calling CFM plug-in?
- From: Philippe Casgrain <email@hidden>
- Date: Mon, 28 Aug 2006 16:54:50 -0400
On 06-08-28, at 16:31, Rosyna wrote:
I'm not sure, but this may be relevant.
http://developer.apple.com/samplecode/CFM_MachO_CFM/index.html
Thank you, I know (and used) this sample code. This is when you're a
CFM application, calling into a Mach-O loadable bundle, and maybe
calling back from the bundle into your CFM application. We use this
for WebKit integration.
We're trying to call CFM from Mach-O, not the other way around :-]. I
guess we're looking for MachO_CFM_MachO...
This may be as well:
http://developer.apple.com/samplecode/SampleCMPlugIn/listing2.html
Specifically, MachOFunctionPointerForCFMFunctionPointer()
Again, this is when you are a CFM app and calling into Mach-O. We use
this too :-)
Philippe
Ack, at 8/28/06, Philippe Casgrain said:
We have a large legacy application that was CFM-based. It is now
Universal (meaning, Mach-O) and we ran into a plug-in problem.
Is it possible for a Mach-O PPC application to call a CFM plug-in?
We know how to do the opposite (CFM calling Mach-O), because that's
how we use Cocoa technologies in our CFM app.
We believe this is possible because Adobe Photoshop CS2 is a Mach-O
application, yet it supports CFM plugins (the vast majority of PS
plugins out there are CFM).
For us, we crash right when we call the plugin. Here are some
excerpts from our code. Basically, we find the disk fragment and we
load it, then we try to execute it (and crash). There are no
errors, we get a disk fragment and a pointer to some data, but we
can't execute it.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden