Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 23rd, 2005, 01:10 AM
Thomas
Guest
 
Posts: n/a
Default PostGres ODBC MFC Application

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
  #2  
Old November 23rd, 2005, 01:14 AM
mike g
Guest
 
Posts: n/a
Default Re: PostGres ODBC MFC Application

There is an odbc driver for windows.

http://gborg.postgresql.org/project/...rojdisplay.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:[color=blue]
> 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[/color]

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

  #3  
Old November 23rd, 2005, 01:14 AM
mike g
Guest
 
Posts: n/a
Default Re: PostGres ODBC MFC Application

There is an odbc driver for windows.

http://gborg.postgresql.org/project/...rojdisplay.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:[color=blue]
> 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[/color]

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles