Page 1 of 1

problem in ver. 3.0.40 HMGSQL (PGSQL)

Posted: Mon Feb 13, 2012 6:20 pm
by bartsoft
Hello
I try to compile my program with HMGPGSQL in HMG 3.0.40 and always get a error:
undefined reference to PQCONNECT
undefined reference to PQCLOSE
undefined reference to PQCLEAR

If I use HMG 3.0.35 works ok. I think problem is in HBPGSQL in new version (HARBOUR 3.x) not exist this function, but in version HARBOUR 2.x.

BArt.

Re: problem in ver. 3.0.40 HMGSQL (PGSQL)

Posted: Mon Feb 13, 2012 6:52 pm
by Rathinagiri
Might be.

/* NOTE: Deprecated. Because it's not 1 to 1 wrapper. Please use PQCONNECTDB() instead. */

This is the reason mentioned in the source code.