undefined struct 'pg_conn' on Windows7

From: Brilliantov Kirill Vladimirovich <brilliantov(at)byterg(dot)ru>
To: pgsql-general(at)postgresql(dot)org
Subject: undefined struct 'pg_conn' on Windows7
Date: 2014-10-29 08:17:48
Message-ID: 5450A2AC.60308@byterg.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello!
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?
Thank you and excuse me for my bad english.

--
Best regards,
Brilliantov Kirill Vladimirovich

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2014-10-29 08:57:12 Re: undefined struct 'pg_conn' on Windows7
Previous Message VENKTESH GUTTEDAR 2014-10-29 08:06:05 Re: Appending new data to existing field of Json data type