... c:\bcc77\lib\c0w32.obj +
test.obj, +
test.exe, +
test.map, +
c:\fwh\lib\FiveH.lib c:\fwh\lib\FiveHC.lib c:\fwh\lib\libmysql.lib +
c:\fwh\lib\hbpgsql.lib c:\fwh\lib\libpq.lib +
c:\fwh\lib\drxlsx32_bcc.lib +
c:\harbour\lib\win\bcc\hbhpdf.lib +
c:\harbour\lib\win\bcc\libhpdf.lib +
c:\harbour\lib ...
Search found 11 matches: hbpgsql
Searched query: hbpgsql
- Mon Sep 16, 2024 12:07 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: erro dllcall
- Replies: 9
- Views: 949
- Fri Sep 29, 2023 2:12 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: who use PostgreSQL with Fivewin ?
- Replies: 13
- Views: 1862
Re: who use PostgreSQL with Fivewin ?
... 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 your ...
this CODE is to Import DBF into PostgreSQL Table "ala Xbase++
Glad. Now your ...
- Thu Sep 28, 2023 6:19 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: who use PostgreSQL with Fivewin ?
- Replies: 13
- Views: 1862
Re: who use PostgreSQL with Fivewin ?
... 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 oQry:aStruct // structure ...
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 oQry:aStruct // structure ...
- Fri Jun 30, 2023 5:55 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: build Import LIB from LibPQ.DLL
- Replies: 37
- Views: 5064
Re: build Import LIB from LibPQ.DLL
... YES, 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\include ...
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\include ...
- Thu Jun 29, 2023 9:03 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: build Import LIB from LibPQ.DLL
- Replies: 37
- Views: 5064
Re: build Import LIB from LibPQ.DLL
... I was used to 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 "Original" by PostgreSQL 32 ...
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 "Original" by PostgreSQL 32 ...
- Mon Jun 26, 2023 12:25 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: does Fivewin hbpgsql.lib include CLASS TPQServer ?
- Replies: 2
- Views: 274
Re: does Fivewin hbpgsql.lib include CLASS TPQServer ?
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 got "Unresolved external"
so what i´m doing ...
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 got "Unresolved external"
so what i´m doing ...
- Sun Jun 25, 2023 11:11 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: does Fivewin hbpgsql.lib include CLASS TPQServer ?
- Replies: 2
- Views: 274
Re: does Fivewin hbpgsql.lib include CLASS TPQServer ?
hbpqsql.lib is not a FiveWin library. This is a Harbour library
libpq.lib is implib from libpq.dll
libpq.lib is implib from libpq.dll
- Sun Jun 25, 2023 10:51 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: what LIB Type does Fivewin use :
- Replies: 1
- Views: 318
what LIB Type does Fivewin use :
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)
it seem that CODE and *.BAT was Original for ...
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)
it seem that CODE and *.BAT was Original for ...
- Sun Jun 25, 2023 8:10 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: does Fivewin hbpgsql.lib include CLASS TPQServer ?
- Replies: 2
- Views: 274
does Fivewin hbpgsql.lib include CLASS TPQServer ?
hi,
i have include hbpgsql.lib and LibPQ.LIB in *.HBC
libs=hbpgsql.LIB
libs=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' referenced from C:\FWH\0\LISTVIEW\OBJ\HBPGU.OBJ
Error ...
i have include hbpgsql.lib and LibPQ.LIB in *.HBC
libs=hbpgsql.LIB
libs=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' referenced from C:\FWH\0\LISTVIEW\OBJ\HBPGU.OBJ
Error ...
- Tue Jun 20, 2023 8:15 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: build Import LIB from LibPQ.DLL
- Replies: 37
- Views: 5064
Re: build Import LIB from LibPQ.DLL
FWH comes bundled with
fwh\lib\libpq.lib // 32-bit implib
fwh\lib\hbpgsql.lib // harbour postegre lib
fwh\dll\postgre\libpq.dll // from Postgre
// this dll is also in
fwh\samples\libpq.dll
In addition you also need all the dlls in
fwh\dll\postgre\*.dll
all these dlls are also available in fwh ...
fwh\lib\libpq.lib // 32-bit implib
fwh\lib\hbpgsql.lib // harbour postegre lib
fwh\dll\postgre\libpq.dll // from Postgre
// this dll is also in
fwh\samples\libpq.dll
In addition you also need all the dlls in
fwh\dll\postgre\*.dll
all these dlls are also available in fwh ...
- Fri Jun 16, 2023 10:42 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: build Import LIB from LibPQ.DLL
- Replies: 37
- Views: 5064
Re: build Import LIB from LibPQ.DLL
... have 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.c
c:\hmg.3.4.4\1\hbpgsql\rddcopy.c
c:\hmg.3.4.4\1\hbpgsql\postgres.ch
c:\hmg.3.4.4\1\hbpgsql\hbpgsql.h
c:\hmg.3.4.4\1\hbpgsql\libpq-fe.h ...
---
hm ... CLASS TPQSERVER have some Source
c:\hmg.3.4.4\1\hbpgsql\postgres.c
c:\hmg.3.4.4\1\hbpgsql\rddcopy.c
c:\hmg.3.4.4\1\hbpgsql\postgres.ch
c:\hmg.3.4.4\1\hbpgsql\hbpgsql.h
c:\hmg.3.4.4\1\hbpgsql\libpq-fe.h ...