pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vince Vielhaber <vev@michvhf.com>
To: pgsql-interfaces@postgreSQL.org <pgsql-interfaces@postgreSQL.org>
Subject: Re: [INTERFACES] Re: ODBC 16 bit support
Date: Sun, 19 Apr 1998 13:42:20 -0400 (edt)
Message-ID: <Pine.OS2.3.96.980419133455.40M-100000@paprika.michvhf.com> (raw)
In-Reply-To: <353A3178.F21D4FAB@sid.trust.ee>

On Sun, 19 Apr 1998, Hannu Krosing wrote:

> Of course it would be nice if it supported the other platforms whith 
> ODBC capabilitries: alse Macs and UNIX.

There's no reason it can't.  You write the driver using a common set of
functions from the std C or C++ libs.  ANYTHING that is OS specific is
called using a generic name (eg. AllocateSomeMemory()) and have the
function in an OS specific file and it can call the correct function for
that OS.  I've written a number of things this way and do my testing and
debugging of the main routines in OS/2.  Quickly write a file to handle
the windows 16 and 32 and the unix stuff and compile on the machines it's
going to.  Unless I add things that require additions to the OS specific
files, I may not need to touch them again and the main app is updated
easily.

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH   email: vev@michvhf.com   flame-mail: /dev/null
       # include <std/disclaimers.h>                   TEAM-OS2 
   Online Searchable Campground Listings    http://www.camping-usa.com
              "I'm just not a fan of promoting stupidity!  
            We have elected officials for that job!" -- Rock
==========================================================================





view thread (16+ messages)  latest in thread

Message-ID: <Pine.OS2.3.96.980419133455.40M-100000@paprika.michvhf.com>
Permalink:  ../Pine.OS2.3.96.980419133455.40M-100000@paprika.michvhf.com/
Also on:    postgresql.org/message-id/Pine.OS2.3.96.980419133455.40M-100000@paprika.michvhf.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-interfaces@postgresql.org
  Cc: vev@michvhf.com
  Subject: Re: [INTERFACES] Re: ODBC 16 bit support
  In-Reply-To: <Pine.OS2.3.96.980419133455.40M-100000@paprika.michvhf.com>
  References: <353A3178.F21D4FAB@sid.trust.ee> <Pine.OS2.3.96.980419133455.40M-100000@paprika.michvhf.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