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