pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Simple way to connect from Win32 app
3+ messages / 3 participants
[nested] [flat]

* Simple way to connect from Win32 app
@ 2003-06-18 17:36  Michael Vodep <mvodep@gmx.net>
  0 siblings, 2 replies; 3+ messages in thread

From: Michael Vodep @ 2003-06-18 17:36 UTC (permalink / raw)
  To: pgsql-interfaces

Hi!
I am looking for a simple way to build an application on Windows - complied
with VC++ 6. I have read, that there are many problems with the libpq++ -
just under Windows :p
I dont want to use ODBC - so i hope, u can show me a HOWTO or a way, how to
build such an application :)
I have a FreeBSD machine - so is possible to build libpq.dll for Windows?

Thanks!!
michael (noob)
sorry for that  bad english :)


-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Simple way to connect from Win32 app
@ 2003-06-18 18:00  Jeroen T. Vermeulen <jtv@xs4all.nl>
  parent: Michael Vodep <mvodep@gmx.net>
  1 sibling, 0 replies; 3+ messages in thread

From: Jeroen T. Vermeulen @ 2003-06-18 18:00 UTC (permalink / raw)
  To: Michael Vodep <mvodep@gmx.net>; +Cc: pgsql-interfaces

On Wed, Jun 18, 2003 at 07:36:45PM +0200, Michael Vodep wrote:

> I am looking for a simple way to build an application on Windows - complied
> with VC++ 6. I have read, that there are many problems with the libpq++ -
> just under Windows :p

Have you looked at the new C++ interface, libpqxx?  Visual C++ 6.0 has 
some problems with that, but it may just do what you need.  And even that
compiler will do the job if you upgrade it and enable a workaround macro
in libpqxx.

Take a look at http://pqxx.tk/


Jeroen




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Simple way to connect from Win32 app
@ 2003-06-19 10:21  Rick Gregory <rgregory@gbgsoft.com>
  parent: Michael Vodep <mvodep@gmx.net>
  1 sibling, 0 replies; 3+ messages in thread

From: Rick Gregory @ 2003-06-19 10:21 UTC (permalink / raw)
  To: Michael Vodep <mvodep@gmx.net>; pgsql-interfaces

Hi Michael,

If you download the source, there is a win32.mak file in
/postgresql-7.3./src/interfaces/libpq

This can be used to make a vc6 project that will build both a static and a
dynamic version of the libpq library.

You will have to make minor modifications to some of the header files in
other folders, but these are obvious from the build messages.

Rick Gregory
-----Original Message-----
From: pgsql-interfaces-owner@postgresql.org
[mailto:pgsql-interfaces-owner@postgresql.org]On Behalf Of Michael Vodep
Sent: Wednesday, June 18, 2003 13:37
To: pgsql-interfaces@postgresql.org
Subject: [INTERFACES] Simple way to connect from Win32 app

Hi!
I am looking for a simple way to build an application on Windows - complied
with VC++ 6. I have read, that there are many problems with the libpq++ -
just under Windows :p
I dont want to use ODBC - so i hope, u can show me a HOWTO or a way, how to
build such an application :)
I have a FreeBSD machine - so is possible to build libpq.dll for Windows?

Thanks!!
michael (noob)
sorry for that  bad english :)


--
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-06-19 10:21 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-06-18 17:36 Simple way to connect from Win32 app Michael Vodep <mvodep@gmx.net>
2003-06-18 18:00 ` Jeroen T. Vermeulen <jtv@xs4all.nl>
2003-06-19 10:21 ` Rick Gregory <rgregory@gbgsoft.com>

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