At 02:52 PM 3/13/2006 -0600, you 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

When I look at thislib.sharedlib, it's a bundle. It only has one thing in it, in the MacOS folder, an app called thislib. So I pulled it out of the bundle and placed it where the bundle was. I called it from RB, and still I get the error.

or you can use Soft Declare ... instead of just Declare, and REALbasic will dynamically load it up.

I'm using RB5.5.4, so no Soft - but what difference would that make? WHEN it loads doesn't make a difference, does it? I don't understand why my RB app doesn't grab that exported function.

I read your http://realbasic.maccoding.com/dylib.html, but that just deals with XCode and the example app is Mach-O.

I know I can switch to all these things but right now I'm deal with something very small and it needs to be done quickly.

So, is it possible for RB 5.5 to call an external Mach-O compiled library? If so, what is wrong with the examples I provided?

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>

Reply via email to