pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Byron Nikolaidis <byron.nikolaidis@home.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Stephen Martin Trans-Euro I.T Ltd <stephen@sealteam.demon.co.uk>
Cc: pg-interfaces <pgsql-interfaces@hub.org>
Subject: Re: [INTERFACES] More VB
Date: Sat, 24 Jul 1999 22:10:28 -0400
Message-ID: <379A7214.21866FED@home.com> (raw)
References: <1525.932830036@sss.pgh.pa.us>



Tom Lane wrote:
> 
> "Stephen Martin Trans-Euro I.T Ltd" <stephen@sealteam.demon.co.uk> writes:
> > whilst it seems driving libpq.dll from VB might be a difficult
> > enterprise..  is it still not possible to just connect a socket to
> > port 5432 of where ever and start communicating with postgres through
> > a socket?  TCP or UDP?
> 
> Sure, if you can cope with binary-oriented data structures being
> returned to you by the server.  (The actual data is text, as long as you
> 

I think I missed part of the conversation, but my take on it is that if
you already have a "libpq.dll", it should be fairly straightforward to
map the functions of the dll to VB, just as long as the dll follows
certain rules in how it exports the functions.   I have created dll's
before, and mapped the functions to VB quite successfully.  The only
thing to worry about on the VB side is to correctly map the 'C' function
arguments and return values to VB data types.

Byron



view thread (5+ messages)  latest in thread

Message-ID: <379A7214.21866FED@home.com>
Permalink:  ../379A7214.21866FED@home.com/
Also on:    postgresql.org/message-id/379A7214.21866FED@home.com

 · 

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: byron.nikolaidis@home.com, tgl@sss.pgh.pa.us, stephen@sealteam.demon.co.uk, pgsql-interfaces@hub.org
  Subject: Re: [INTERFACES] More VB
  In-Reply-To: <379A7214.21866FED@home.com>

* 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