X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id E358130DE2A for ; Fri, 20 Jun 2003 21:36:15 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 11567-01 for ; Fri, 20 Jun 2003 18:36:05 -0300 (ADT) Received: from vsmtp2.tin.it (vsmtp2.tin.it [212.216.176.222]) by svr1.postgresql.org (Postfix) with ESMTP id CC37330E554 for ; Fri, 20 Jun 2003 18:36:04 -0300 (ADT) Received: from wizzy (80.182.86.39) by vsmtp2.tin.it (6.7.016) id 3EE06132005C971A for pgsql-odbc@postgresql.org; Fri, 20 Jun 2003 23:36:04 +0200 From: Silvio Scarpati To: pgsql-odbc@postgresql.org Subject: Error Reporting Problem ?? Date: Fri, 20 Jun 2003 23:35:57 +0200 Message-ID: <+33zPteRZ545ooYGc0CHupDu+qhZ@4ax.com> X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Archive-Number: 200306/57 X-Sequence-Number: 3031 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 ??