On 16-Sep-06, at 9:10 PM, Phil M wrote:
I have a Mach-O plugin which a part of the IOKit.framework in OS X.
I want to port the plugin to similar functions that work in Classic
and Windows. I don't foresee any problems with the Classic-Only
target within REALbasic; however, I don't know how I would be able
to compile a PEF plugin which could use either. Is there a way
that I can "soft link" at runtime depending on the OS version?
Apple's CallMachOFramework example shows how to do this: <http://
developer.apple.com/samplecode/CallMachOFramework/>
I use the "simple but messy" approach in my Mouse Overlord plugin:
<http://developer.chaoticbox.com/realbasic.php?
tab=plugins#mouseoverlord> (source included in the download) but
added some macro trickery to allow the implementation to use real
Mach-O function names.
Frank.
<http://developer.chaoticbox.com/>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>