pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Silvio Scarpati <silvio.scarpati@virgilio.it>
To: pgsql-odbc@postgresql.org
Subject: Error Reporting Problem ??
Date: Fri, 20 Jun 2003 23:35:57 +0200
Message-ID: <+33zPteRZ545ooYGc0CHupDu+qhZ@4ax.com> (raw)

Hi Hiroshi,

upgrading to latest ODBC driver i got the following problem:

after installing new 07.03.0100 ODBC driver, i noticed that my Visual
Studio 6.0 MFC Applications does not display the correct error
messages returned by the back-end. In fact, on DB exceptions such as
SQL Query errors, the framework displays an empty MessageBox, instead,
with previous versions of the driver, the framework displayed
(correctly) the right error string (same string reported in connection
log or mylog).

To reproduce the error just open a recordset with a wrong column name
in the where statement or any kind of erroneous query. The ODBC driver
will display an empty string as error message.

The Legacy version of the driver works great.

Thank you.

Silvio.

P.S.
	once built the odbc driver's dll, how can i debug it? Have i
to write a particular client program where i load directly the dll ??
Is there any doc about this topic ??




Message-ID: <+33zPteRZ545ooYGc0CHupDu+qhZ@4ax.com>
Permalink:  ../+33zPteRZ545ooYGc0CHupDu+qhZ@4ax.com/
Also on:    postgresql.org/message-id/+33zPteRZ545ooYGc0CHupDu+qhZ@4ax.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: silvio.scarpati@virgilio.it
  Subject: Re: Error Reporting Problem ??
  In-Reply-To: <+33zPteRZ545ooYGc0CHupDu+qhZ@4ax.com>
  References: <+33zPteRZ545ooYGc0CHupDu+qhZ@4ax.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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