Lists: | pgsql-odbc |
---|
From: | "Jonathan Blitz" <jb(at)anykey(dot)co(dot)il> |
---|---|
To: | <pgsql-odbc(at)postgresql(dot)org> |
Subject: | Problem with error messages in VC++ 2005 |
Date: | 2006-10-19 14:40:06 |
Message-ID: | 001201c6f38c$7c375590$ddf71005@jonathanlaptop |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-odbc |
I am using PostgreSQL version 8.0 with VC++ 2005.
I have no problem accessing and getting data but I am having problems with
getting errors messages correctly.
Whenever there is an error and I invoke SQLGetDiagRec to get the error
message I get semi-garbled data.
The message is obviously there as it is about 80% right. However, there are
random characters sprinkled about in the message.
For example “Error: Table my_table does not exist”
Comes out as “Error:2 Table my abl do ot exis “
In the middle there are all sorts of weird characters.
I have tried changing and upgrading the ODBC driver but nothing seems to
help.
I am now using version 8.02.01.00 but to no avail.
Anyone had similar problems?
Jonathan Blitz
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.5/483 - Release Date: 10/18/2006
From: | Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp> |
---|---|
To: | Jonathan Blitz <jb(at)anykey(dot)co(dot)il> |
Cc: | pgsql-odbc(at)postgresql(dot)org |
Subject: | Re: Problem with error messages in VC++ 2005 |
Date: | 2006-10-19 21:06:00 |
Message-ID: | 4537E8B8.8070901@tpf.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-odbc |
Jonathan Blitz wrote:
> I am using PostgreSQL version 8.0 with VC++ 2005.
>
<snip>
> I am now using version 8.02.01.00 but to no avail.
>
Could you try the snapshot dll at
http://www.geocities.jp/inocchichichi/psqlodbc/index.html ?
If the version has no effect please send me the Mylog output.
regards,
Hiroshi Inoue