Logged in as Guest
Open Source Visual RAD



Home >
Getting Started >
GNAVI FAQ >
The GNAVI Project >
GNAVI Extras >
Join >
Latest Additions >
Press Releases >
Links >
Contact >
About >
Login >

Back
GWindows - FAQ
RAD GUI Development Framework for Windows

GWindows FAQ

GWindows FAQ



What is GWindows?

GWindows is a full Win32 RAD GUI Framework with ADO database and Active X support for Ada 95.

Under what license is GWindows available?

  • The GWindows Tools and documentation are distributed under the terms of the GNU General Public License.
  • The GWindows framework is distributed under the terms of the GNU General Public License with the same exceptions found in the GNAT run time library making it possible to include GWindows in non open source programs as well.
  • All of GWindows is Copyright (c) 1999-2004 David Botton and distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  • See the GNU General Public License for more details.

Where can I download GWindows?

From the GWindows home page - http://www.gnavi.org/gwindows

What is the latest version of GWindows?

The latest release of GWindows is 1.2, check the GWindows home page http://www.gnavi.org/gwindows for the latest developer snap shots, examples and more.

How do I install the latest GWindows release version?

  • First download the latest GNATCOM snap shot from http://www.gnavi.org/gnatcom
  • Then download the latest GWindows version from http://www.gnavi.org/gwindows
  • Unzip the gnatcom snap shot and gwindows release zip files in to the same directory (for example C:\)
  • Enter the gnatcom directory and type install.bat
  • Copy the gnatcom tools from gnatcom\tools some place on to your path
  • Enter the gwindows directory and type install.bat
  • From there I suggest working through the turorials in gwindows\doc\user_guide.doc (tutorial files in gwindows\tutorials)

How do I install the latest GWindows developer snap shot?

  • First download the latest GNATCOM snap shot from http://www.gnavi.org/gnatcom
  • Then download the latest GWindows developer snap shot from http://www.gnavi.org/gwindows
  • The downoad the latest redist-XXXX file from http://www.gnavi.org/gwindows
  • Unzip the gnatcom snap shot and gwindows release zip files in to the same directory (for example C:\)
  • Unzip the redist-XXX.zip file in to gwindows\redist
  • Enter the gnatcom directory and type install.bat
  • Copy the gnatcom tools from gnatcom\tools some place on to your path
  • Enter the gwindows directory and type install.bat
  • From there I suggest working through the turorials in gwindows\doc\user_guide.doc (tutorial files in gwindows\tutorials)

I get the following install error: process_begin: CreateProcess((null), bindcom ..\redist\tom.tlb TOM, ...) failed.

Full Error Text:
C:\gwindows>install
Installing GWindows.....
make -C bindings
make[1]: Entering directory `C:/gwindows/bindings'
bindcom ..\\redist\\tom.tlb TOM
process_begin: CreateProcess((null), bindcom ..\redist\tom.tlb TOM, ...) 
failed.

make (e=2): The system cannot find the file specified.
make[1]: *** [tom.ads] Error 2
make[1]: Leaving directory `C:/gwindows/bindings'
make: *** [all] Error 2
Install Completed

You need to have the tools from GNATCOM\Tools on your path.

How do you obtain the Default_GUI Font, but underlined and blue?

  • Do a GWindows.Drawing_Objects.Create_Stock_Font using Default_GUI
  • Select it in to a canvas
  • Use GWindows.Drawing.Get_Current_Font_Name to obtain the name of the Default_GUI Font
  • Use GWindows.Drawing_Objects.Create_Font using that name, the size you want and set it to underline
  • Select the new Font in to the canvas with GWindows.Drawing.Select_Object
  • Use the function GWindows.Drawing.Text_Color to set the color and draw away


(c) 1999-2004 All Rights Reserved David Botton