Unix Technical Forum

Problem with error messages in VC++ 2005

This is a discussion on Problem with error messages in VC++ 2005 within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> I am using PostgreSQL version 8.0 with VC++ 2005. I have no problem accessing and getting data but I ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 03:10 AM
Jonathan Blitz
 
Posts: n/a
Default Problem with error messages in VC++ 2005

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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-16-2008, 03:10 AM
Hiroshi Inoue
 
Posts: n/a
Default Re: Problem with error messages in VC++ 2005

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/inocchichich...dbc/index.html ?
If the version has no effect please send me the Mylog output.

regards,
Hiroshi Inoue


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:05 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com