On Mar 13, 2006, at 2:32 PM, Garth Hjelte wrote:
But I get an error in start the app in RB; "The application (null)
could not be launched because of a shared library error:
"R<main><main></Library/Application Support/ExtCompany/
thislib.bundle><>"
Perhaps it's because "thislib.bundle" is a Mach-O bundle and I
can't get into it for the same reasons?
Right, or you can use Soft Declare ... instead of just Declare, and
REALbasic will dynamically load it up.
> Now I assume (based on your answer) that it's because the framework
> is in a bundle (I do see that all these things are in a Unix
> executable file) and I need to access the bundle via the CFBUndle
> commands. Now this seems like too much work, or is it?
Frameworks are a special type of bundle. CFBundle allows you to
dynamically load code at runtime. One benefit is that it allows Mach-
O to call PEF and PEF to call Mach-O. There is no way to "hard" link
a Mach-O framework from a PEF library.
What is a good resource for CFBundle specs and how to use it? I
checked on the Apple site and it almost seems logical, but it's
sketchy to me how to use it.
Apple's developer site:
<http://developer.apple.com/documentation/CoreFoundation/Conceptual/
CFBundles/index.html#//apple_ref/doc/uid/10000123i>
HTH,
Jon
_______________________________________________
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>