realbasic-nug
[Top] [All Lists]

Re: RB and Linux .so libs

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: RB and Linux .so libs
From: Charles Yeomans <charles at declareSub dot com>
Date: Thu, 30 Mar 2006 18:57:55 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <442C6632 dot 7050207 at implements dot be>
There is one example in chapter 1 of my book on declares <http:// www.declareSub.com/>. Here is another.

Soft Declare Function open Lib "/usr/lib/libc.so" (pathname as CString, flags as Integer) as Integer

Declaring external functions works the same for Linux as for any other platform.

Charles Yeomans

On Mar 30, 2006, at 6:13 PM, Yves Vindevogel wrote:

Hi,

Does anyone have an example on how to call a Linux library (generally somewhere in /usr/lib/ with the name somelib.so)
I would love to see how you make a declare to it and use it.

Maybe the people at Einhugur did something like this in their plugins ?

_______________________________________________
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>