Skip site navigation (1) Skip section navigation (2)

RE: [INTERFACES] libpq and VB

From: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
To: "'pgsql-interfaces(at)postgresql(dot)org'" <pgsql-interfaces(at)postgresql(dot)org>
Subject: RE: [INTERFACES] libpq and VB
Date: 1999-07-23 07:20:38
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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...



Dave Page, Network & Systems Manager, The Vale Housing Association Ltd.
dpage(at)vale-housing(dot)co(dot)uk (Work) (Home of pgAdmin)
Beer can be a permanent solution - but only if you have enough of it!  

-----Original Message-----
From: owner-pgsql-interfaces(at)postgreSQL(dot)org
[mailto:owner-pgsql-interfaces(at)postgreSQL(dot)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

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
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
in the documentation.
Has anyone else undertaken a task like this?
Any guidance would be welcome ..
Regards Stephen 


pgsql-interfaces by date

Next:From: Ramon YagoDate: 1999-07-23 08:06:09
Subject: Delphi, Posgres and Large objects
Previous:From: Hiroshi InoueDate: 1999-07-23 03:05:49

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group