pg.ddx.io pgsql-interfaces@postgresql.org mailing list archivehelp / color / mirror / Atom feed
libpq and VB 2+ messages / 2 participants [nested] [flat]
* libpq and VB @ 1999-07-23 00:14 Stephen Martin Trans-Euro I.T Ltd <stephen@sealteam.demon.co.uk> 0 siblings, 0 replies; 2+ messages in thread From: Stephen Martin Trans-Euro I.T Ltd @ 1999-07-23 00:14 UTC (permalink / raw) To: pg-interfaces <pgsql-interfaces@hub.org> Hello I am attempting to create a Visual Basic header file in VB6 for libpq.dll I have extracted a list of exportable functions from the dll and started to create a frame work like this.. Public Declare Function PQbackendPID Lib "libpq.dll" () Public Declare Function PQbinaryTuples Lib "libpq.dll" () Public Declare Function PQclear Lib "libpq.dll" () sofar so good, but I am running into Run time error 49 Bad DLL calling convention when I start to to try to flesh the declarations out with parameters also some of the functions such as PQsetdbLogin dont seem to be mentioned (or at least I cannot find it when I need to see it) in the documentation. Has anyone else undertaken a task like this? Any guidance would be welcome .. Regards Stephen ^ permalink raw reply [nested|flat] 2+ messages in thread
* RE: [INTERFACES] libpq and VB @ 1999-07-23 07:20 Dave Page <dpage@vale-housing.co.uk> 0 siblings, 0 replies; 2+ messages in thread From: Dave Page @ 1999-07-23 07:20 UTC (permalink / raw) To: pgsql-interfaces This is exactly the problem I was getting. I have been talking to someone however who thinks they can implement COM wrappers in VC++ so we may have something to play with soon... Regards, Dave. -- Dave Page, Network & Systems Manager, The Vale Housing Association Ltd. dpage@vale-housing.co.uk http://www.vale-housing.co.uk (Work) http://www.pgadmin.freeserve.co.uk/ (Home of pgAdmin) Beer can be a permanent solution - but only if you have enough of it! -----Original Message----- From: owner-pgsql-interfaces@postgreSQL.org [mailto:owner-pgsql-interfaces@postgreSQL.org]On Behalf Of Stephen Martin Trans-Euro I.T Ltd Sent: 23 July 1999 00:14 To: pg-interfaces Subject: [INTERFACES] libpq and VB Hello I am attempting to create a Visual Basic header file in VB6 for libpq.dll I have extracted a list of exportable functions from the dll and started to create a frame work like this.. Public Declare Function PQbackendPID Lib "libpq.dll" () Public Declare Function PQbinaryTuples Lib "libpq.dll" () Public Declare Function PQclear Lib "libpq.dll" () sofar so good, but I am running into Run time error 49 Bad DLL calling convention when I start to to try to flesh the declarations out with parameters also some of the functions such as PQsetdbLogin dont seem to be mentioned (or at least I cannot find it when I need to see it) in the documentation. Has anyone else undertaken a task like this? Any guidance would be welcome .. Regards Stephen ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~1999-07-23 07:20 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 1999-07-23 00:14 libpq and VB Stephen Martin Trans-Euro I.T Ltd <stephen@sealteam.demon.co.uk> 1999-07-23 07:20 RE: [INTERFACES] libpq and VB Dave Page <dpage@vale-housing.co.uk>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox