does Fivewin hbpgsql.lib include CLASS TPQServer ?

does Fivewin hbpgsql.lib include CLASS TPQServer ?

Postby Jimmy » Sun Jun 25, 2023 8:10 pm

hi,

i have include hbpgsql.lib and LibPQ.LIB in *.HBC
Code: Select all  Expand view
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: Unresolved external '_HB_FUN_PQRESULTSTATUS' referenced from C:\FWH\0\LISTVIEW\OBJ\HBPGU.OBJ
Error: Unresolved external '_HB_FUN_PQLASTREC' referenced from C:\FWH\0\LISTVIEW\OBJ\HBPGU.OBJ
Error: Unresolved external '_HB_FUN_PQMETADATA' referenced from C:\FWH\0\LISTVIEW\OBJ\HBPGU.OBJ
Error: Unresolved external '_HB_FUN_PQFCOUNT' referenced from C:\FWH\0\LISTVIEW\OBJ\HBPGU.OBJ
Error: Unresolved external '_HB_FUN_PQGETVALUE' referenced from C:\FWH\0\LISTVIEW\OBJ\HBPGU.OBJ

in HMG Version it include tpostgre.prg, postgres.c and rddcopy.c where CLASS TPQSERVER is "in" *.PRG
so what is in Fivewin hbpgsql.lib and libpq.lib :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: does Fivewin hbpgsql.lib include CLASS TPQServer ?

Postby nageswaragunupudi » Sun Jun 25, 2023 11:11 pm

hbpqsql.lib is not a FiveWin library. This is a Harbour library
libpq.lib is implib from libpq.dll
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10624
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: does Fivewin hbpgsql.lib include CLASS TPQServer ?

Postby Jimmy » Mon Jun 26, 2023 12:25 am

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 wrong ...
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 103 guests