... and other FWH functions for reading, editing and modifying the PostGre records and instead directly use TPQquery and TPQrow classes of Harbour's hbpgsql.lib. This helps us to close any further discussion on SavePQQ(). this CODE is to Import DBF into PostgreSQL Table "ala Xbase++ Glad. Now ...
... of FWPGSUPPORT.PRG for reading, saving and primary keys. Instead you may directly use methods of TPQquery and TPQrow classes of Harbour's hbpgsql.lib. This is very simple. This is the way to go: oQry := oServer:Query( "select * from states" ) XBROWSER ...
... that seems to work :D it compile/link now without Problem, under 64 Bit using MSVC, and i got to 1st Step to show "Catalog" --- to build hbpgsql.LIB your need LibPQ.LIB from PostgreSQL Server and also some *.h copy LibPQ.LIB into c:\fwh64\lib\ hbpgsql.hbP -hblib -Ic:\fwh64\includetpostgre.prg ...
... work with *.HBC, where I had Libs= but when i use BCC and *.MAK it "seems" not to work :? after include in *.MAK echo c:\fwh\lib\hbpgsql.lib + >> b32.bc echo c:\fwh\lib\libpq.lib + >> b32.bc 32 Bit App using BCC work now :) --- libpq.lib"seem" me the ...
hi, thx for Answer ok i have ask wrong : does C:\fwh\lib\hbpgsql.lib (here 32 Bit) include postgres.c rddcopy.c tpostgre.prg like used in c:\harbour64\contrib\hbpgsql\hbpgsql.hbp :?: i have include libs=hbpgsql.LIB and libs=libpq.lib in *.HBC but still ...
hi, i found in ReadMe.TXT to build hbpgsql.lib Script makelib.bat creates PostgreSQL wrapper lib for Harbour (../Harbour/lib/hbpgsql.lib) and transforms original libpq.lib in this map (MSVC COFF type) to Borland OMF type (../Harbour/lib/libpq.lib) ...
hi, i have include hbpgsql.lib and LibPQ.LIB in *.HBC libs=hbpgsql.LIBlibs=libpq.lib but i get Error : Error: Unresolved external '_HB_FUN_TPQSERVER' referenced from C:\FWH\0\LISTVIEW\OBJ\HBPGU.OBJ Error: Unresolved external '_HB_FUN_PQEXEC' ...
FWH comes bundled with fwh\lib\libpq.lib // 32-bit implibfwh\lib\hbpgsql.lib // harbour postegre libfwh\dll\postgre\libpq.dll // from Postgre// this dll is also infwh\samples\libpq.dll In addition you also need all the dlls in fwh\dll\postgre\*.dll all ...
... build a Lib "a" (MinGW) for LibPQ.DLL 64 Bit ... but i don´t remember how ... --- hm ... CLASS TPQSERVER have some Source c:\hmg.3.4.4\1\hbpgsql\postgres.cc:\hmg.3.4.4\1\hbpgsql\rddcopy.cc:\hmg.3.4.4\1\hbpgsql\postgres.chc:\hmg.3.4.4\1\hbpgsql\hbpgsql.hc:\hmg.3.4.4\1\hbpgsql\libpq-fe.hc:\hmg.3.4.4\1\hbpgsql\tpostgre.prg ...
... SQLSkip(nRec) i do have a Xbase++ CLASS but not made a *.CH i´m working on a harbour CLASS using CLASS TPQServer ( \HARBOUR\contrib\hbpgsql\ ) for PostgreSQL --- have work with MySQL and PostgreSQL under Xbase++ but as Xbase++ goes PostgreSQL i have build my Xbase++ App with LibPQ.DLL ...
I pass all the parameters in, but the confirmation window still opens. for me it work ... hm this is a Test Code from HMG #require "hbpgsql" // i guess FW use libpq.lib pgsql.lib #include "postgres.ch" // some ConstantPROCEDURE Main() LOCAL ...