Sign in Join
Wiki copytemporary

ibase

Free Pascal interface to Interbase/Firebird

Overview

You can use Free Pascal to access an Interbase or Firebird database server from Linux and Windows.

For more information on Firebird, see their home page. For more info on Interbase, see their home page

Interfacing is very easy; all you need to do is compile some units, and use these units in your program. You need to specify the place of the Interbase client Library (libgds) when compiling, and that is it. the provided units take care of the rest.

Note: There is a higher level, object oriented SQLDB wrapper around this unit called TIBConnection that is more convenient to use. See the Firebird article for more details

Requirements

You need at least version 0.99.11 of Free Pascal. The headers are translated for Interbase versions 4 and 6, or Firebird 1.0.

Installation

The ibase unit is distributed as part of the Free Pascal packages, and is distributed with the compiler.

This file contains a directory base/ibase with the units, a test program and a make file. The following units exist:

There is also a test program available.

Typing

text
make

Should compile the units and the program. If compilation was succesfull, you can install with

text
make install

(Remember to set the directory where the units should be installed.)

You can then test the program by running

text
make test

This will:

You will see a lot of messages on your screen, giving you feedback and results. If something went wrong, make will inform you of this.

Go to back Packages List


From the Free Pascal wiki, page "ibase", as it stood on 2016-08-05 after a change by Arent, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 2, last changed by WikiArchive .

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.