Access Violation in VC++ 2005

Access Violation in VC++ 2005

am 21.09.2006 20:11:34 von Jonathan Blitz

This is a multi-part message in MIME format.

------=_NextPart_000_017E_01C6DDBA.265FB5A0
Content-Type: text/plain;
charset="windows-1250"
Content-Transfer-Encoding: quoted-printable

Hi,

I am using VC++ 2005.

PostgreSQL version 8.0.3.

=20

I am having problems with the ODBC driver.

=20

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

=20

Thing is this ONLY occurs with the driverv version 8.02.00.02

If I use the older ones =93PostgreSQL ANSI 8.01.02.00=94 or =
=93PostgreSQL Unicode
8.01.02.00=94 then all is ok.

=20

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.

=20

Jonathan Blitz

=20


--=20
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
=20

------=_NextPart_000_017E_01C6DDBA.265FB5A0
Content-Type: text/html;
charset="windows-1250"
Content-Transfer-Encoding: quoted-printable

xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dwindows-1250">











style=3D'font-size:10.0pt;
font-family:Arial'>Hi,



style=3D'font-size:10.0pt;
font-family:Arial'>I am using VC++ 2005.



style=3D'font-size:10.0pt;
font-family:Arial'>PostgreSQL version =
8.0.3.



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'>I am having problems with the ODBC =
driver.



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'>When I try to close the connection using =
SQLDisconnect 
I get an Access Violation Exception.



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'>Thing is this ONLY occurs with the driverv version =
8.02.00.02



style=3D'font-size:10.0pt;
font-family:Arial'>If I use the older ones “PostgreSQL ANSI =
8.01.02.00”
or “PostgreSQL Unicode 8.01.02.00” then all is =
ok.



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'>Also, this ONLY happens after I create a =
statement.



style=3D'font-size:10.0pt;
font-family:Arial'>If I just open and then close the connection then all =
is ok.



style=3D'font-size:10.0pt;
font-family:Arial'>Closing the statement first has no =
effect.



style=3D'font-size:10.0pt;
font-family:Arial'> 



style=3D'font-size:10.0pt;
font-family:Arial'>Jonathan Blitz



style=3D'font-size:10.0pt;
font-family:Arial'> 











--

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



------=_NextPart_000_017E_01C6DDBA.265FB5A0--

Re: Access Violation in VC++ 2005

am 22.09.2006 02:43:23 von Hiroshi Inoue

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

Re: Access Violation in VC++ 2005

am 22.09.2006 12:20:27 von Jonathan Blitz

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



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