Thread: Re: Application crash after error - please help

Re: Application crash after error - please help

From
"Dave Page"
Date:

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Andrus
> Sent: 02 December 2005 16:51
> To: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] Application crash after error - please help
>
> Ludek,
>
> > Main.exe doesn't use auth info prom sqltest.prg.
>
> I'm sorry. Modified repro code is available in same address
> (www.eetasoft.ee/postgresrepro.zip)
> This repro contains text type column. Fox mysql it should probably be
> replaced also. My co-worker tries to run it in mysql in weekend.
>
> > I don't know if the problem is in ODBC driver. But to fix
> this problem
> > imidiately in your app it's enough
> > if you add Calling SQLFreeStmt with SQL_DROP in the code when insert
> > fail.
>
> Thank you. This would be a good fix. Unfortunately it it difficult to
> implement in VFP.

Andrus,

Can I email you an updated dll to test? I think I fixed this, we just
need to test it some more, and confirm it hasn't broken anything else.

Regards, Dave.

Re: Application crash after error - please help

From
"Andrus"
Date:
> Can I email you an updated dll to test? I think I fixed this, we just
> need to test it some more, and confirm it hasn't broken anything else.

 Dave,

thank you.

Yes, you can e-mail it. I can test it with this repro immediately.
Also, I can put it into small production environment starting at Monday.

My email is eetasoft@online.ee

Should I replace simply some dll file in windows XP some directory ?
Will driver use the new file automatically or  will XP dll version control
try to give old file for driver ?

Andrus.




Re: Application crash after error - please help

From
Ludek Finstrle
Date:
> Yes, you can e-mail it. I can test it with this repro immediately.
> Also, I can put it into small production environment starting at Monday.

Please wait few minutes and the new version is on pgFoundry.

> Should I replace simply some dll file in windows XP some directory ?
> Will driver use the new file automatically or  will XP dll version control
> try to give old file for driver ?

I only replace psqlodbc[aw].dll files in Win2k.

Luf

Re: Application crash after error - please help

From
"Andrus"
Date:
Ludek

> Please wait few minutes and the new version is on pgFoundry.

Thank you. I tested 8.1.103 and my repro does not cause error anymore.

EXCELLENT!

Andrus.