Thread: Access Violation in VC++ 2005

Access Violation in VC++ 2005

From
"Jonathan Blitz"
Date:

Hi,

I am using VC++ 2005.

PostgreSQL version 8.0.3.

 

I am having problems with the ODBC driver.

 

When I try to close the connection using SQLDisconnect  I get an Access Violation Exception.

 

Thing is this ONLY occurs with the driverv version 8.02.00.02

If I use the older ones “PostgreSQL ANSI 8.01.02.00” or “PostgreSQL Unicode 8.01.02.00” then all is ok.

 

Also, this ONLY happens after I create a statement.

If I just open and then close the connection then all is ok.

Closing the statement first has no effect.

 

Jonathan Blitz

 


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date: 09/15/2006

Re: Access Violation in VC++ 2005

From
Hiroshi Inoue
Date:
Jonathan Blitz wrote:
> Hi,
>
> I am using VC++ 2005.
>
> PostgreSQL version 8.0.3.
>
>
>
> I am having problems with the ODBC driver.
>
>
>
> When I try to close the connection using SQLDisconnect  I get an Access
> Violation Exception.
>
>
>
> Thing is this ONLY occurs with the driverv version 8.02.00.02

Please try the 8.2.0100 version at http://www.postgresql.org/ftp/odbc/versions/ .

regards,
Hiroshi Inoue

Re: Access Violation in VC++ 2005

From
"Jonathan Blitz"
Date:
The only thing I am scared of is that if I do install a newer one it will
totally screw up the ones I have.

I have about 25 databases and most of them, for some reason, don't appear in
the list of ODBC sources. Nevertheless they are there since they are in the
registry and also work.
They use the driver called: psqlodbc.dll

The ones that don't work use psqlobc35w.

The one that didn't work but I fixed works with psqlodbc35a

I'm scared that if I install the newest one it will overwrite the one that
works.
Is it a different dll name?

Jonathan

> -----Original Message-----
> From: Hiroshi Inoue [mailto:inoue@tpf.co.jp]
> Sent: Friday, September 22, 2006 2:43 AM
> To: Jonathan Blitz
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] Access Violation in VC++ 2005
>
> Jonathan Blitz wrote:
> > Hi,
> >
> > I am using VC++ 2005.
> >
> > PostgreSQL version 8.0.3.
> >
> >
> >
> > I am having problems with the ODBC driver.
> >
> >
> >
> > When I try to close the connection using SQLDisconnect  I get an Access
> > Violation Exception.
> >
> >
> >
> > Thing is this ONLY occurs with the driverv version 8.02.00.02
>
> Please try the 8.2.0100 version at
http://www.postgresql.org/ftp/odbc/versions/ .
>
> regards,
> Hiroshi Inoue
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date: 9/15/2006
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date: 09/15/2006
>

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date: 09/15/2006