Recent

Author Topic: [SOLVED] Zeos component getting Access Violation  (Read 3019 times)

danilo

  • Newbie
  • Posts: 2
[SOLVED] Zeos component getting Access Violation
« on: December 02, 2014, 01:06:23 pm »
Hi everyone!

I'm trying to transfer an entire project from a computer to another;

Project is developed on Lazarus, plus Zeos to connect to a Postgresql database;

I installed all the mess using the same settings used in the first computer, but I don't know if the Postgres instalation requires some special configuration to work with Zeos;

THE ISSUE:

When I try to turn the connection to True, at dev time, Lazarus yields "Access Violation" error; When debugging, I catch the SIGSEGV error;

I kept the same settings about protocol and stuff; I've found some guys talking about DLL as drivers and so on, but I still didn't find any related docs on Zeos documentation;

Thanks in advance.
« Last Edit: December 02, 2014, 01:45:45 pm by danilo »

danilo

  • Newbie
  • Posts: 2
[SOLVED] Zeos component getting Access Violation
« Reply #1 on: December 02, 2014, 01:44:55 pm »
I debugged the "ZConnection1.connected:=True" code closer, so caught a message of "libpq.dll is missing";

So, I've found this solution:

http://stackoverflow.com/questions/20412084/postgresql-error-the-program-cant-start-because-libpq-dll-is-missing-from-your

(Environment Variables Settings - Postgres didn't that automatically)

 

TinyPortal © 2005-2018