Search found 66 matches: hbpgsql

Return to advanced search

Re: PostgresSQL from core-master\contrib\hbpgsql

hi Antonio,

sorry for delay Answer ... was sick last days
THX for the Link to liblibpq-64.a
by Jimmy
Wed Oct 02, 2019 11:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PostgresSQL from core-master\contrib\hbpgsql
Replies: 28
Views: 6403

Re: PostgresSQL from core-master\contrib\hbpgsql

hi Antonio, Why don't you simply use this one ? c:\Program Files\PostgreSQL\11\lib\libpq.lib i try to use it with harbour *.HBC when it try to use it libs=c:\Program Files\PostgreSQL\11\lib\libpq.lib i got a Error unknown Format. as i understand i need Lib*.a for harbour but i have no (working) LibL...
by Jimmy
Tue Sep 17, 2019 5:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PostgresSQL from core-master\contrib\hbpgsql
Replies: 28
Views: 6403

Re: PostgresSQL from core-master\contrib\hbpgsql

Jimmy,

Why don't you simply use this one ?

c:\Program Files\PostgreSQL\11\lib\libpq.lib
by Antonio Linares
Tue Sep 17, 2019 8:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PostgresSQL from core-master\contrib\hbpgsql
Replies: 28
Views: 6403

Re: PostgresSQL from core-master\contrib\hbpgsql

hi, i'm still struggle with 64 Bit LibLibPQ.a ... :( now i found a Blog about "Building PostgreSQL client library using MinGW under WinXP SP3" https://pgolub.wordpress.com/2008/12/15/building-postgresql-client-library-using-mingw-under-winxp-sp3/ Ok it is XP (32 Bit ?) and LibP...
by Jimmy
Mon Sep 16, 2019 9:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PostgresSQL from core-master\contrib\hbpgsql
Replies: 28
Views: 6403

Re: PostgresSQL from core-master\contrib\hbpgsql

hi Antonio, THX for time and help Using Microsoft dumpbin utility: dumpbin /EXPORTS libpq.dll it work when use my 32 Bit LibPQ.DLL :!: ... but fail with my 64 Bit LibPQ.DLL :?: G:\masm32\bin>dumpbin /EXPORTS libpq.DLL G:\masm32\bin>Microsoft (R) COFF Binary File Dumper Version 5.12.8078 Copyri...
by Jimmy
Wed Sep 11, 2019 6:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PostgresSQL from core-master\contrib\hbpgsql
Replies: 28
Views: 6403

Re: PostgresSQL from core-master\contrib\hbpgsql

Jimmy,

libpq.lib is available from c:\Program Files\PostgreSQL\11\lib\libpq.lib

Please try this one
by Antonio Linares
Wed Sep 11, 2019 4:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PostgresSQL from core-master\contrib\hbpgsql
Replies: 28
Views: 6403

Re: PostgresSQL from core-master\contrib\hbpgsql

Using Microsoft dumpbin utility: dumpbin /EXPORTS libpq.dll Dump of file libpq.dllFile Type: DLL  Section contains the following exports for LIBPQ.dll    00000000 characteristics    FFFFFFFF time date stamp        0.00 version           1 ordinal base         172 number of functions         172 numb...
by Antonio Linares
Wed Sep 11, 2019 4:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PostgresSQL from core-master\contrib\hbpgsql
Replies: 28
Views: 6403

Re: PostgresSQL from core-master\contrib\hbpgsql

hi Antonio, You have to create an "import" library from libpq.dll: dlltool -z somedll.def --export-all-symbol somedll.dlldlltool -d somedll.def -l libsomedll.a http://www.mingw.org/wiki/CreateImportLibraries AH ... "Import LIB" ... so i try it and got c:\hmg.3.4.4\Min...
by Jimmy
Wed Sep 11, 2019 3:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PostgresSQL from core-master\contrib\hbpgsql
Replies: 28
Views: 6403

Re: PostgresSQL from core-master\contrib\hbpgsql

You have to create an "import" library from libpq.dll:

dlltool -z somedll.def --export-all-symbol somedll.dll

dlltool -d somedll.def -l libsomedll.a

http://www.mingw.org/wiki/CreateImportLibraries
by Antonio Linares
Tue Sep 10, 2019 9:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PostgresSQL from core-master\contrib\hbpgsql
Replies: 28
Views: 6403

Re: PostgresSQL from core-master\contrib\hbpgsql

hi Antonio, thx again for help > but still PQ* Error when try with*.HBC what error do you get ? it say skipping incompatible C:/hmg.3.4.4/lib-64\liblibpq-64.a when searching for -llibpq-64 and show me missing PQ* Function of LibPQ C:/hmg.3.4.4/harbour/lib/win/mingw\libhbpgsql.a(postgres.o):postgr...
by Jimmy
Mon Sep 09, 2019 7:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PostgresSQL from core-master\contrib\hbpgsql
Replies: 28
Views: 6403

Re: PostgresSQL from core-master\contrib\hbpgsql

> but still PQ* Error when try with*.HBC

what error do you get ?
by Antonio Linares
Mon Sep 09, 2019 8:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PostgresSQL from core-master\contrib\hbpgsql
Replies: 28
Views: 6403

Re: PostgresSQL from core-master\contrib\hbpgsql

hi Antonio, c:\gcc81w64\bin\ar rc .\liblibpQ-64.a module.o etc... THX again for help. i have try this Syntax and got liblibpQ-64.a ... but still PQ* Error when try with*.HBC libpaths=c:\hmg.3.4.4\LIB-64libs=Libpq-64mt=yes  this is what i did c:\hmg.3.4.4\MinGW-64\bin\ar rc .\liblibpQ-64.a postgres.o...
by Jimmy
Sun Sep 08, 2019 11:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PostgresSQL from core-master\contrib\hbpgsql
Replies: 28
Views: 6403

Re: PostgresSQL from core-master\contrib\hbpgsql

c:\gcc81w64\bin\ar rc .\liblibpQ-64.a module.o
etc...
by Antonio Linares
Sun Sep 08, 2019 6:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PostgresSQL from core-master\contrib\hbpgsql
Replies: 28
Views: 6403

Re: PostgresSQL from core-master\contrib\hbpgsql

hi, have try c:\hmg.3.4.4\HARBOUR-64\contrib\hbpgsql> hbmk2.exe postgres.c rddcopy.c tpostgre.c -Id:\PG\include\ -Ld:\ALASKA\_hrb_dev\HB3\64BIT\LIB -llibpq File d:\ALASKA\_hrb_dev\HB3\64BIT\LIB\libpq.LIB ist Original from 64 PG-Server v9.5 so ...
by Jimmy
Sun Sep 08, 2019 5:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PostgresSQL from core-master\contrib\hbpgsql
Replies: 28
Views: 6403
PreviousNext

Return to advanced search