michael 6cccd87f16 * Patch from Laco to add some widechar ODBC functions 8 年之前
..
examples 5306ee552b * regenerated makefiles with latest fpcmake 9 年之前
src 6cccd87f16 * Patch from Laco to add some widechar ODBC functions 8 年之前
Makefile 5306ee552b * regenerated makefiles with latest fpcmake 9 年之前
Makefile.fpc ac87da7c42 * Filter the Makefile's unit searchpaths from the fpmake command line. 10 年之前
Makefile.fpc.fpcmake d407b668d1 * version updated to 3.1.1 10 年之前
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 年之前
fpmake.pp c0bdce1330 * Fixed problem with search-masks in fpmake.pp-files in subdirectories 10 年之前

README.txt

Testing raw ODBC access:

For windows:
============

1. Compile testodbc. No options should be needed.

2. In the ODBC manager in the Windows Control Panel, create a new system or
file DSN called 'FPC' with the 'Microsoft Access (*.mdb)' driver
(At least MS-Access 97 or higher)

Do not enter any username or password.

The DSN should point to the testodbc.mdb database file provided with the
testodbc.pp program.

3. Run the program.

For Linux:
==========

1. Change testodbc.pp and set the UserName and Password constants if needed.

2. Compile testodbc. No options should be needed.

3. Create a MySQL database and table with the mkdb script in the mysql
directory. make sure the password and username as set in step 1 have
access to this databse.

4. Install a DSN called FPC for the newly created database.
(I used the unixODBC ODBCConfig program for this)

5. Run the program.

Enjoy !

Michael.