Thread: PostGres ODBC MFC Application

PostGres ODBC MFC Application

From
t_murtagh@vodafone.ie (Thomas)
Date:
Hi,

I wish to write an MFC application to access a PostGres database which
will be implemented as a Snort Database. I'm wondering if it is
possible to connect to the database using an ODBC driver, and then
using CRecordset classes as one would when connecting to Access. I
would appreciate any information or direction that can be provided in
this area.

Regards
Thomas

Re: PostGres ODBC MFC Application

From
mike g
Date:
There is an odbc driver for windows.

http://gborg.postgresql.org/project/psqlodbc/projdisplay.php

One can connect to postgresql using MS Access to view, insert, update
etc.

Mike

On Wed, 2004-06-16 at 05:17, Thomas wrote:
> Hi,
>
> I wish to write an MFC application to access a PostGres database which
> will be implemented as a Snort Database. I'm wondering if it is
> possible to connect to the database using an ODBC driver, and then
> using CRecordset classes as one would when connecting to Access. I
> would appreciate any information or direction that can be provided in
> this area.
>
> Regards
> Thomas
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster