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: Dave Thorup <email@hidden>
- Date: Wed, 30 Aug 2006 12:58:28 -0400
Sorry that I didn't see this sooner. I wrote an article a little
while ago that details one way of doing this, specifically loading
and using a CFM library (as opposed to a plugin) in a Mach-o
application as well as what you need to do to pass callbacks to the
CFM library. It sounds like you've already found what you needed
though. Here's the article for reference (including references to
some old mailing list posts):
Mach-o and CFM Wizardry
http://cutterpillow.com/content/view/24/
Enjoy
_____________________________
Dave Thorup
Software Engineer
email@hidden
http://www.kuwan.net
HyperSpell - Check spelling in Mac OS X from any application.
On Aug 28, 2006, at 4:06 PM, Philippe Casgrain wrote:
Hello,
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.
Any clues?
Thanks,
Philippe
_______________________________________________
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