Re: ODBC and Visual C++

From: "Byron Nikolaidis" <byron(dot)nikolaidis(at)home(dot)com>
To: "JT MacNeil" <macneiljt(at)sur-gard(dot)com>, <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: ODBC and Visual C++
Date: 2000-07-04 00:16:14
Message-ID: 001301bfe54d$11276460$6401a8c0@byron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

You can use the ODBC Cursor Library -- I think you specify this option when
making the connection.

Byron

----- Original Message -----
From: JT MacNeil <macneiljt(at)sur-gard(dot)com>
To: <pgsql-interfaces(at)postgresql(dot)org>
Sent: Tuesday, June 27, 2000 6:18 PM
Subject: [INTERFACES] ODBC and Visual C++

> I am currently writing a front end application is Visual C++ to work with
a
> Postgres backend. I set the recordset class' m_nDefaultType to dynaset in
> the constructor, which should allow me to update the records. I compile
the
> program, and I get a messagebox telling me that the ODBC driver does not
> support dynasets. If I try to do it as a snapshot, then there is no
problem,
> except that I cannot update. I am using a system DSN, and letting the
Visual
> C++ wizards generate the recordset/view classes using ODBC. Does anyone
know
> how I can get the ODBC driver to support dynasets? I'm sure it's really
> easy, I just don't know ODBC that well.
>
> J-T MacNeil (ext. 266)
> Software QA Specialist
> Sur-Gard Security Communications
> Tel 416 667-0144
> Fax 416 667-0038
> e-Mail macneilj(at)sur-gard(dot)com
>
>

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Joe Shevland 2000-07-04 04:17:12 RE: JDBC: Class.forName() Fails
Previous Message Tom Lane 2000-07-03 19:41:56 Re: psql comment char??