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: Yves Vindevogel <yves dot vindevogel at implements dot be>
Date: Fri, 31 Mar 2006 11:16:11 +0200
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <442C6632 dot 7050207 at implements dot be> <B47E6456-A383-43D1-8449-AA965C37BBFF at declareSub dot com>
Hi Charles,

Your book looks interesting, but I see most of it is on Mac. Do you plan to include more Linux specific stuff in the future ? The chapter about translation C to RB is probably 100% the same for Linux as for other platforms, right ?

I see you reference GTK (The C lib). Would it be possible to do something similar for C++ objects ?

Yves Vindevogel


Charles Yeomans wrote:

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>



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