On Jan 3, 2007, at 6:48 PM, Jonathan Johnson wrote:
For future versions of REALbasic, we have implemented loading
plugins directly in memory for Mach-O plugins using new APIs in
10.3 and higher. We now suggest that all universal binaries be
built as bundles instead of dynamic libraries.
This does not mean that the plugins will become folder bundles, but
rather the Mach-O type will be Bundle (MH_BUNDLE from Mach-O/
Loader.h).
In Xcode, this setting is called "Mach-O Type". Changing this
setting from "Dynamic Library" to "Bundle" will work properly in
2006r4 and later, and in future versions of REALbasic, these
plugins will be loaded directly in memory and not written out to disk.
This is not a requirement, and old plugins will continue to
function normally. This should only be done to the Universal
Binary, however, as 2006r3 and prior did not know how to load up
MH_BUNDLE plugins. If you're shipping a separate PowerPC Mach-O
library, continue using the Dynamic Library type for backwards
compatibility.
Hmm, do I understand correctly that the plugin rbx format for UB is
deprecated then, or should we somehow stash the bundle in the rbx
volume and RB will load directly the bundle from the rbx volume
without copying to the disk?
It's a bit ambiguous...
Alfred
_______________________________________________
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>