HMG have c:\hmg.3.4.4\SOURCE\HMGSQL\
it does have
to buildLib.BAThmgmysql.prg
hmgpgsql.prg
hmgsqlite.prg
we also have buildLib64.BATlibhmgmysql.a
libhmgpgsql.a
libhmgsqlite.a
Question : does it work with 64 Bit DLL or 32 Bit DLL

---
Xbase++ v2.x have begin to use PostgreSQL so i try to use PQ* Function
now in hmgpgsql.prg
Code: Select all
FUNCTION connect2db(cHost,cUser,cPass,cDb,nPort)
function sql(dbo1,qstr)
function miscsql(dbo1,qstr)
function C2SQL(Value)
i can make Connection, use sql(dbo1,qstr) and get a Array.
---
under c:\hmg.3.4.4\HARBOUR\contrib\hbpgsql\tests i found "more" for PostgreSQL
it transfer ( INSERT ) data into PostgreSQL Table
Sample use CLASS TPQServer() so PQ* Function are "wrapped" as Method
under HMG it is available as hbpgsql.hbc but no Source or Description
---
MiniGUI Extended Version have c:\MiniGUI\SOURCE\HbPgSql\tpostgre.prg
Code: Select all
CLASS TPQServer
CLASS TPQQuery
CLASS TPQRow
CLASS TPQQuery have Method to handle Result-Set to navigate and get/set Field Value
CLASS TPQRow seem to be special for 1 Row e.g. Edit Row
---
HMGSQL can build 64 Bit LIB but how to build MinGW 64 Bit "hbpgsql"

MiniGUI Extended Sample have MakeLib.bat ... but it is for BCC
so how to go on for 64 Bit HMG App and PostgreSQL
