Re: [Gambas-user] haw to call the "C or C++" function suma(a, b) from gambas?

2008-06-11 Thread Benoit Minisini
On mardi 10 juin 2008, Adrian Martínez Vargas wrote: > Hello mail list > > If I have a shared library written in C++ that look like this: > > > // suma.cc: >extern "C" >{ >float suma (float a, float b) > { > return a+b; >

[Gambas-user] haw to call the "C or C++" function suma(a, b) from gambas?

2008-06-11 Thread Adrian Martínez Vargas
Hello mail list If I have a shared library written in C++ that look like this: // suma.cc: extern "C" { float suma (float a, float b) { return a+b; } } // extern "C" haw to call the function

Re: [Gambas-user] Execute external program?

2008-06-11 Thread Benoit Minisini
On mercredi 11 juin 2008, Stefan Miefert wrote: > Hello, > > i want to start ie. Firefox or better , the actual system webbrowser and > load a page. How can I do this in gambas? > Use the gb.desktop component and its method Desktop.Open() with the URL as argument. Regards, -- Benoit Minisini

[Gambas-user] Execute external program?

2008-06-11 Thread Stefan Miefert
Hello, i want to start ie. Firefox or better , the actual system webbrowser and load a page. How can I do this in gambas? - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just

Re: [Gambas-user] create code option in form designer

2008-06-11 Thread Ron Onstenk
On Wednesday 11 June 2008, Ron wrote: > Benoit Minisini schreef: > > On mardi 10 juin 2008, Ron wrote: > > > >> Question. > >> > >> Is there a way to generate the code for an object you designed in the gui. > >> If not wouldn't it be a nice feature? > >> > >> Let say you created a window and dra

Re: [Gambas-user] Adding a form to a workspace, grideditor

2008-06-11 Thread Benoit Minisini
On mercredi 11 juin 2008, Ron wrote: > Is this valid? > > --- > PUBLIC SUB tbnDevices_Click() > > DIM doc AS NEW FDevices > > wrkMain.Show > wrkMain.Add(doc) > > END > --- > FDevices is a Form , like the test form from GridEditor > wrkMain is my Workspace > > The problem is, FDevices contains

Re: [Gambas-user] Error compiling from svn for 3.0

2008-06-11 Thread Benoit Minisini
On mercredi 11 juin 2008, Rolf-Werner Eilert wrote: > Just fyi, Benoit: When I try to compile from svn, I get the following > error (I guess it starts here): > > Making all in gb.qt > make[2]: Entering directory `/home/tester/gambastest/trunk/gb.qt' > make all-recursive > make[3]: Entering directo

Re: [Gambas-user] Error compiling from svn for 3.0

2008-06-11 Thread David Paleino
On Wed, 11 Jun 2008 11:19:39 +0200, Rolf-Werner Eilert wrote: > CEditor_moc.cpp:12:2: error: #error "The header file 'CEditor.h' doesn't > include ." > gview_moc.cpp:12:2: error: #error "The header file 'gview.h' doesn't include > ." I believe the error is here. Try opening CEditor.h and gview.

[Gambas-user] Error compiling from svn for 3.0

2008-06-11 Thread Rolf-Werner Eilert
Just fyi, Benoit: When I try to compile from svn, I get the following error (I guess it starts here): Making all in gb.qt make[2]: Entering directory `/home/tester/gambastest/trunk/gb.qt' make all-recursive make[3]: Entering directory `/home/tester/gambastest/trunk/gb.qt' Making all in src make[