On Mar 13, 2006, at 4:03 PM, Garth Hjelte wrote:

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

You will need to point to the actual library inside of the bundle to declare against it in Mach-O. The only time that you don't need to do this is if you are using soft declares.

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.

Does it actually hang, or does it just not launch? <Sarcasm>Apple is very good at showing Mach-O errors during startup.</Sarcasm> To see such errors, you often need to open the Console application and see what gets logged there.

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>

Reply via email to