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

Re: libpq++ on Windows

From: Christian Ullrich <chris(at)chrullrich(dot)de>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: libpq++ on Windows
Date: 2001-07-01 15:45:49
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
* Christian Ullrich wrote on Sunday, 2001-07-01:

> I will look into it. It should be enough to get it to work via the
> GUI and export a Makefile (I wonder how they dare to call these

Well, I found it was easier to adapt the win32.mak for libpq.
So here is the patch.


- The additions to and config.h.win32 are not very elegant,
  especially But I need to export the classes, and that's
  the only way to go.
- The static library doesn't work. It asserts while connecting.
  I've tried to find the bug, but failed miserably. 
  WSAStartup() returned success, so that shouldn't be the reason.
- The filenames are constructed like libpq's:
  - libpq++.dll: The working DLL.
  - libpq++.lib. The broken static library.
  - libpq++dll.lib: The DLL's import library.


Christian Ullrich		     Registrierter Linux-User #125183

"Sie k├Ânnen nach R'ed'mond fliegen -- aber Sie werden sterben"

In response to


pgsql-interfaces by date

Next:From: Peter EisentrautDate: 2001-07-01 18:28:34
Subject: Re: libpq++ on Windows
Previous:From: Christian UllrichDate: 2001-07-01 07:48:46
Subject: Re: libpq++ on Windows

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