Script BASIC

Open Forum => Round Table => Topic started by: RONB on March 04, 2013, 10:44:55 AM

Title: GTK server Linux 32bit
Post by: RONB on March 04, 2013, 10:44:55 AM
This is GTK server 2.3 build 1 second release.
Complied for scriptbasic Linux 32bit on a Debian 6.0 box.
Tested with scriptbasic 2.1 and SB2b1_Ubuntu32

Information and examples can be found on the developers web site.
http://www.gtk-server.org/

Title: Re: GTK server Linux 32bit
Post by: support on March 04, 2013, 01:53:01 PM
Peter's original HUG effort was done under ScriptBasic GTK-Server. (look at the gtk.bas include file)

I first used GTK-Server in 2005 when Peter wrapped his server as a ScriptBasic extension module. I had asked Peter if the string passing could be done via an extension module rather than via TCP and in a couple days I had a GTK.so for ScriptBasic. You will find a lot of SB code that I posted that uses GTK-Server and not as a Gtk interface but as a FFI (Foreign Function Interface) to access SQLite (before AIR's extension module) and other GNOME libraries.

GTK-Server is a ton of fun if you enjoy dynamic API scripting.

FYI: The new DLLC FFI extension module (currently just for Windows) leaves any other FFI library out there in the dust. Direct COM vTABLE dynamic function/method calling has already been demonstrating with the MS SAPI sound COM object.
Title: Re: GTK server Linux 32bit
Post by: support on March 04, 2013, 08:59:58 PM
Your right, it was difficult to find. (Posted HERE (http://www.scriptbasic.org/forum/index.php?PHPSESSID=1pldviph9m46jemc9nfpu2rkg7&topic=233.msg713#msg713)) I didn't realize how many posts I made GTK-Server related. I hope some of that code is useful to you.

Have you given up on IUP?

Title: Re: GTK server Linux 32bit
Post by: support on March 05, 2013, 03:19:22 PM
77 bytes ???  (corrupted download is all I can say) I'll post another Ubuntu 32 ScriptBasic iup.so for you to try.

The GTK-Server was customized a bit (look at some of my iDLL SB examples) to be more of a generic FFI interface.

Title: Re: GTK server Linux 32bit
Post by: support on March 05, 2013, 09:08:16 PM
This zipped copy of the ScriptBasic iup.so is 79 KB in size. It works fine with my Ubuntu 12.04 LTS 32 bit version.