realbasic-plugins
[Top] [All Lists]

Re: Frameworks = MachO

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Frameworks = MachO
From: Garth Hjelte <garth at chickensys dot com>
Date: Thu, 16 Mar 2006 10:08:56 -0600
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <4 dot 3 dot 2 dot 7 dot 2 dot 20060313140350 dot 0386dc20 at mail dot chickensys dot com> <4 dot 3 dot 2 dot 7 dot 2 dot 20060313132649 dot 036a1a98 at mail dot chickensys dot com> <4 dot 3 dot 2 dot 7 dot 2 dot 20060313125457 dot 03b29678 at mail dot chickensys dot com> <4 dot 3 dot 2 dot 7 dot 2 dot 20060313125457 dot 03b29678 at mail dot chickensys dot com> <4 dot 3 dot 2 dot 7 dot 2 dot 20060313132649 dot 036a1a98 at mail dot chickensys dot com> <4 dot 3 dot 2 dot 7 dot 2 dot 20060313140350 dot 0386dc20 at mail dot chickensys dot com>
At 02:52 PM 3/13/2006 -0600, you wrote:

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.

Thanks for your help Jonathon, things are going pretty good.

On a related question, on Soft Declares, or just Declares.

I've made a .dylib for my app to call. My app is now Mach-O, so it's a bundle by definition. I want the .dylib inside the bundle, and to call it
from there so I don't have to distribute it seperately. How do I write the
Declare? All the examples talk about calling a system thing, not a custom-made thing.

Garth Hjelte
Sampler User
_______________________________________________
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>


<Prev in Thread] Current Thread [Next in Thread>