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: Mon, 13 Mar 2006 16:03:44 -0600
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <38A9994B-5897-42F4-A4C1-0508D12EE7B1 at realsoftware 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>
Additional info:

I put in this code into my app:

Declare Function MyTestCall Lib "/Library/Application Support/ExtCompany/thislib.bundle" (myparam As Integer) As Integer

In "thislib.bundle" there is this code:

#pragma export on
extern "C" {
         long MyTestCall(long myparam)
         {
                 return myparam + myparam;
         }
}
#pragma export off

thislib.bundle is a Mach-O Shared Bundle, according to CW.

I compile my app in RB to Mach-O, and try to start the app. It just hangs on the launch.

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>