FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour does Fivewin hbpgsql.lib include CLASS TPQServer ?
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
does Fivewin hbpgsql.lib include CLASS TPQServer ?
Posted: Sun Jun 25, 2023 08:10 PM
hi,

i have include hbpgsql.lib and LibPQ.LIB in *.HBC
Code (fw): Select all Collapse
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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: does Fivewin hbpgsql.lib include CLASS TPQServer ?
Posted: 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
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: does Fivewin hbpgsql.lib include CLASS TPQServer ?
Posted: 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

Continue the discussion