pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Martin Trans-Euro I.T Ltd <stephen@sealteam.demon.co.uk>
To: pg-interfaces <pgsql-interfaces@hub.org>
Subject: libpq and VB
Date: Fri, 23 Jul 1999 01:14:22 +0100
Message-ID: <00e501bed4a0$514cdc00$bbb4989e@station1.Marketrends.net> (raw)

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 

view thread (2+ messages)  latest in thread

Message-ID: <00e501bed4a0$514cdc00$bbb4989e@station1.Marketrends.net>
Permalink:  ../00e501bed4a0$514cdc00$bbb4989e@station1.Marketrends.net/
Also on:    postgresql.org/message-id/00e501bed4a0$514cdc00$bbb4989e@station1.Marketrends.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: stephen@sealteam.demon.co.uk, pgsql-interfaces@hub.org
  Subject: Re: libpq and VB
  In-Reply-To: <00e501bed4a0$514cdc00$bbb4989e@station1.Marketrends.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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