Sign in Join
Wiki copytemporary

ibase: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: ibase

OldNewLine
1+## Free Pascal interface to Interbase/Firebird
2+
3+### Overview
4+
5+You can use Free Pascal to access an [[Interbase]] or [[Firebird]] database server from Linux and Windows.
6+
7+For more information on Firebird, see their [home page](http://www.firebirdsql.org/). For more info on Interbase, see their [home page](http://www.interbase.com/)
8+
9+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.
10+
11+> **Note:** There is a higher level, object oriented SQLDB wrapper around this unit called [[TIBConnection]] that is more convenient to use. See [[Firebird|the Firebird article]] for more details
12+
13+## Requirements
14+
15+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.
16+
17+## Installation
18+
19+The ibase unit is distributed as part of the Free Pascal packages, and is distributed with the compiler.
20+
21+This file contains a directory base/ibase with the units, a test program and a make file. The following units exist:
22+
23+- **ibase40** the Interbase version 4 or 5 interface header translation. The interface is largely the same as for version 6.
24+- **ibase60** the Interbase version 6 interface header translation. .
25+
26+There is also a test program available.
27+
28+Typing
29+
30+`make`
31+
32+Should compile the units and the program. If compilation was succesfull, you can install with
33+
34+`make install`
35+
36+(Remember to set the directory where the units should be installed.)
37+
38+You can then test the program by running
39+
40+`make test`
41+
42+This will:
43+
44+- Run a script to create a table in a database, and fill it with some data. (the isql program should be in your PATH for this) . By default, the used database is testdb.
45+- Run the testprogram testdb
46+- Run a shell script again to remove the created table.
47+
48+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.
49+
50+Go to back [[Package List|Packages List]]
51+
52+---
53+*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](/wiki-contact).*
54+Category: Databases
55+Category: Packages

Back to history