EAccessViolation inside TpgQuery
Posted: Fri 10 Jun 2016 14:59
Hello,
Steps to reproduce:
1. Make basic program, one TPgConnection, one simple TPgQuery.
2. Compile and run program under Delphi with debugging.
3. PgConnection1.Connected := True;
4. Go to services (in Windows) and stop postgresql-x64-9.4 - PostgreSQL Server 9.4 service. (Your program should still running).
5.PgQuery1.ExecSQL;
Now you will receive a series of exceptions. One of them will be: "Project <your project name> raised exception class EAccessViolation with message 'Access violation at address 00544079 in module 'your module name>. Read of address 00000050"
There is something wrong in the TPgQuery component. Please take a look at this. I have a working example but there is no way to include it here. I hope that I've explained how to reporduce the error.
My platform is: Windows 7, 64 bit, Delphi 2009.
Best regards.
Steps to reproduce:
1. Make basic program, one TPgConnection, one simple TPgQuery.
2. Compile and run program under Delphi with debugging.
3. PgConnection1.Connected := True;
4. Go to services (in Windows) and stop postgresql-x64-9.4 - PostgreSQL Server 9.4 service. (Your program should still running).
5.PgQuery1.ExecSQL;
Now you will receive a series of exceptions. One of them will be: "Project <your project name> raised exception class EAccessViolation with message 'Access violation at address 00544079 in module 'your module name>. Read of address 00000050"
There is something wrong in the TPgQuery component. Please take a look at this. I have a working example but there is no way to include it here. I hope that I've explained how to reporduce the error.
My platform is: Windows 7, 64 bit, Delphi 2009.
Best regards.