Search Postgresql Archives

Re: undefined struct 'pg_conn' on Windows7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brilliantov Kirill Vladimirovich wrote:
> I install postgre from postgresql-9.3.5-3-windows-x64.exe file and try
> use libpq.lib from it.
> My system Windows7 ServicePack1 and I use VisualStudioExpress 12 for
> write code.
> I add path to <postgre_install_dir>\include and
> <postgre_install_dir>\lib in project and include libpq-fe.h file.
> Unfortunately when I try build project I get error "uses undefined
> struct 'pg_conn'".
> How can I solve this problem?

Can you show the C code?
Any chance that you use a variable of type "PGconn" when it should be "PGconn*" ?

Yours,
Laurenz Albe

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux