Files
harbour-core/harbour/examples/hbsqlit2
Viktor Szakats 8c77111447 2009-07-11 07:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/mathtest.prg
  * tests/testcgi.prg
  * tests/speedold.prg
  * tests/testhtml.prg
  * tests/wvtext.prg
  * tests/testpre.prg
  * tests/testfor.prg
  * doc/en-EN/string.txt
  * doc/en-EN/memvar2.txt
  * source/rtl/gtdos/gtdos.c
  * source/rtl/gtsln/keytrans.c
  * source/rtl/gtsln/mousesln.c
  * source/rtl/gtsln/gtsln.c
  * source/rtl/gtsln/kbsln.c
  * source/rdd/dbfntx/dbfntx1.c
  * source/rdd/dbfnsx/dbfnsx1.c
  * source/compiler/genc.c
  * contrib/gtalleg/ssf.c
  * contrib/hbct/strdiff.c
  * contrib/hbct/tests/csetarge.prg
  * contrib/hbct/dattime2.c
  * contrib/xhb/fparse.c
  * contrib/xhb/ttable.prg
  * contrib/xhb/freadlin.c
  * contrib/xhb/cstruct.prg
  * contrib/hbgt/strasint.c
  * contrib/hbfbird/tests/testapi.c
  * contrib/hbxbp/xbpsle.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpfiledialog.prg
  * contrib/hbxbp/xbpwindow.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbp3state.prg
  * contrib/hbnf/scancode.prg
  * contrib/hbnf/vidmode.prg
  * contrib/hbnf/vidcur.prg
  * contrib/hbnf/proper.c
  * contrib/hbnf/rand1.prg
  * contrib/hbnf/fttext.c
  * contrib/hbnf/settime.prg
  * contrib/hbnf/page.prg
  * contrib/hbnf/findith.prg
  * contrib/hbnf/at2.prg
  * contrib/hbnf/dispc.c
  * contrib/hbnf/gcd.prg
  * contrib/hbnf/dosver.prg
  * contrib/hbnf/nooccur.prg
  * contrib/hbnf/asum.prg
  * contrib/hbnf/sleep.prg
  * contrib/hbnf/wda.prg
  * contrib/hbnf/any2any.prg
  * contrib/hbnf/setdate.prg
  * contrib/hbnf/amedian.prg
  * contrib/hbnf/blink.prg
  * contrib/hbnf/aredit.prg
  * contrib/hbnf/xbox.prg
  * contrib/hbnf/ftround.prg
  * contrib/hbnf/hex2dec.prg
  * contrib/hbnf/nwuid.prg
  * contrib/hbnf/aemaxlen.prg
  * contrib/hbnf/nwlstat.prg
  * contrib/hbnf/invclr.prg
  * contrib/hbnf/diskfunc.prg
  * contrib/hbnf/scregion.prg
  * contrib/hbnf/d2e.prg
  * contrib/hbnf/anomatch.prg
  * contrib/hbnf/cntryset.prg
  * contrib/hbnf/ntow.prg
  * contrib/hbnf/aeminlen.prg
  * contrib/hbnf/savesets.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/hbnf/calendar.prg
  * contrib/hbnf/e2d.prg
  * contrib/hbnf/sysmem.prg
  * contrib/hbnf/aading.prg
  * contrib/hbnf/pending.prg
  * contrib/gtqtc/tests/demoqtc.prg
  * contrib/gtqtc/gtqtc.cpp
  * contrib/gtwvg/wvgscrlb.prg
  * contrib/gtwvg/wvgclass.prg
  * contrib/gtwvg/wvgax.prg
  * contrib/gtwvg/wvgpaint.prg
  * contrib/gtwvg/wvgdarea.prg
  * contrib/gtwvg/wvgmle.prg
  * contrib/gtwvg/wvglistb.prg
  * contrib/gtwvg/wvggui.c
  * contrib/gtwvg/wvgpushb.prg
  * contrib/gtwvg/wvgsle.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/wincallb.c
  * contrib/gtwvg/wvgmenub.prg
  * contrib/gtwvg/wvgphdlr.prg
  * contrib/gtwvg/wvgcheck.prg
  * contrib/gtwvg/wvgstatb.prg
  * contrib/gtwvg/wvgstatc.prg
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgtabpg.prg
  * contrib/gtwvg/wvg3stat.prg
  * contrib/gtwvg/wvgsink.c
  * contrib/gtwvg/wvgwing.c
  * contrib/hbmisc/hb_f.c
  * contrib/hbmisc/nconvert.prg
  * contrib/hbmisc/doc/en/ht_file.txt
  * contrib/hbvpdf/hbvpdf.prg
  * contrib/hbvpdf/hbvpdft.prg
  * examples/hbdoc/examples/core_es/memvar2.txt
  * examples/hbmake/hbmake.prg
  * examples/hbsqlit2/tests/hbsqlite.prg
  * examples/guestbk/testcgi.prg
  * examples/guestbk/guestbk.prg
  * examples/pe/editorhi.prg
  * examples/terminal/trm_cli.prg
  * examples/terminal/terminal.prg
  * examples/hscript/dir.hs
  * examples/hscript/ugly.hs
    * Minor formatting.
2009-07-11 05:46:08 +00:00
..

/*
 * $Id$
 */

/*
 *------------------------------------------------------------------------
 *                  HARBOUR INTERFACE for SQLITE  
 *------------------------------------------------------------------------
 *
 * Copyright 2003 Alejandro de Garate <alex_degarate@hotmail.com>
 *
 * License: General Public License or for short GPL (GNU)
 * 
 * Developed using:
 *     Harbour 0.42 or upper 
 *     Borland C++ BCC 5.5.1 
 *
 */

 Requirements
 ------------
 Any windows platform W95, W98, W98SE or NT family 
 A C++ compiler, if you use other than Borland some minor changes could
 be required. 


 The program
 -----------
 The source program is quite small (about 50 Kbytes) and a litle basic, 
 but gives an easy way of accessing a SQL Database, like SQLite.
 Inside the prg you can find several C functions used to connect to the 
 database, and Clipper/Harbour code used for calling C functions.
 Most of the code is commented and is easy to follow.
 Of course many enhancement would be done, I will do if I found spare 
 time :)
 The library that come with the program it's based in the SQLite version
 2.8.6


 Purpose
 -------
 To access a sqlite database using Clipper/Harbour language.


 Use
 ---
 This program is mostly self-contained.
 For using you needs:
  1- Borland C++ Compiler BCC 5.5 or upper   (working)
  2- Harbour version 0.42 or upper  (working)
  3- hbsqlite.prg (main program /front end)
  4- hbsqlite.ch  (some defines)
  5- sqlite.lib   (library builded for BCC55 and windows platform)
  6- sqlite.h     (include file for sqlite code)
  7- sqliteInt.h  (include file for sqlite code)
  8- example.db   (a simple sqlite database for testings )

 Steps:
 1.- Unzip the package to the target directory (ie.: \sqlite)

 2.- Keep the zip file at safe place :)

 3.- Add sqlite.lib to the list of libraries 
     You also needs to add sqlite.lib to the list of libraries inside 
     the build.bat file at harbour\bin directory.

 4.- Move the static library sqlite.lib to the harbour\lib directory.

 5.- If you have (1) & (2) working, just compile hbsqlite.prg using:
      bld_b32 hbsqlite   // without extension


 Information about SQLITE
 ------------------------
 1. web site at www.sqlite.org

 2. User list for sqlite (do not ask about harbour stuffs) 
    subscribe at:
 <sqlite-users-subscribe@sqlite.org>         (one by one)

 <sqlite-users-digest-subscribe@sqlite.org>  (digest mode)


 What is inside the source package ?
 -----------------------------------
 Inside the hbsqlite_src.zip file you will find:

    File               Size     Description
 --------------------------------------------------------------------------
 1- hbsqlite.prg       46.401   (main program /front end)
 2- hbsqlite.ch         3.369   (some defines)
 3- sqlite.lib        352.256   (lib builded for BCC55 and windows platform)
 4- sqlite.h           31.222   (include file for sqlite code)
 5- sqliteInt.h        53.893   (include file for sqlite code)
 6- gpl.txt            17.989   (a copy of GPL license)
 7- todo.txt                    (a list of pending things )
 8- readme_en.txt               (this readme)

 Note:
 You may want also the sqlite manager and the sample database, in that 
 case you must download the binary package.


 What is inside the binary package ?
 -----------------------------------
 Inside the hbsqlite_bin.zip file you will find:

    File               Size     Description
 --------------------------------------------------------------------------
 1- hbsqlite.exe      741.376   (harbour front end to sqlite)
 2- sqlite.exe        285.444   (a comand-line Sqlite manager) 
 3- example.db         77.824   (a simple sqlite database for testings)
 4- test.db                     (another sqlite database for testings)
 5- readme_en.txt               (this readme)

 Final comments
 --------------
 You can adapt the program to your needs, but if you made any 
 improvements, fixes or found any error, let me know so I can add it
 to the program.
 Anyway if you want to ask something, or think a feature is missing
 send me a mail.

 Enjoy it!
 
 Alejandro