[Gambas-devel] Gambas Development

Scott, Vince Vince.Scott at ...440...
Thu Aug 24 20:14:24 CEST 2006


Thanks for your reply and input. I hope that in the near future that I can contribute code and components to help grow Gambas. I really like this tool.
 
Vince

________________________________

From: gambas-devel-bounces at lists.sourceforge.net on behalf of Benoit Minisini
Sent: Thu 8/24/2006 1:16 PM
To: mailing list for gambas developers
Subject: Re: [Gambas-devel] Gambas Development



On Wednesday 23 August 2006 21:58, Scott, Vince wrote:
> Thanks for the awesome reply. I am a BIG fan of Gambas and would like to
> contribute more to the cause as time goes on. I'm sure you have seen a few
> of my email of the past several months asking questions. I have been
> programming in VB since it was introduced in the early 90's. I also have a
> strong C background. I would really like to see a website created better
> directed at Gambas users...sharing code, ideas, componants etc. I would
> even be interested in helping put that together. If you guys get a version
> to replace VB in Windows you will forever have my attention!
>
> I would really like to build a componant for Gambas. Do you have any
> detailed instructions on building one. The documentation is very weak.
>
> Thanks,
> Vince
>
>

I said I will update the documentation about how to write a component, but I
didn't take the time to do that yet... Sorry for that.

Quickly:

First you must know how works autoconf & automake. Not in the full details...

Then you can look in the source directory of one component to see how the
files are organized.

Then you have to understand:

* How to write the 'configure.ac' file of your component that detects the
libraries and include files you need for your component.

* How to write the 'Makefile.am' files that list the source files to compile,
and the compiler/linker flags needed for that.

* How to declare in your code the classes, methods, events, constants,
properties you have implemented in your component.

* How to write the C/C++ implementation functions of the methods and
properties.

...and so on.

To do that, you must use the Gambas Interpreter API, which is a bunch of
functions that you use for communicating with the interpreter from your
component code.

The include file of this API is "gambas.h". This API is documented in the
wiki, but it is not up to date.

I think by looking at a simple component, like gb.vb, you will have a first
sight of what to do.

Of course I will answer your questions!

Regards,

--
Benoit Minisini


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Gambas-devel mailing list
Gambas-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel




This communication is confidential and may be legally privileged.  If you are not the intended recipient, (i) please do not read or disclose to others, (ii) please notify the sender by reply mail, and (iii) please delete this communication from your system.  Failure to follow this process may be unlawful.  Thank you for your cooperation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 6118 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20060824/347bc069/attachment.bin>


More information about the Devel mailing list