Re: undefined struct 'pg_conn' on Windows7

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: undefined struct 'pg_conn' on Windows7
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B17D7CDD8@ntex2010a.host.magwien.gv.at
обсуждение исходный текст
Ответ на undefined struct 'pg_conn' on Windows7  (Brilliantov Kirill Vladimirovich <brilliantov@byterg.ru>)
Ответы Re: undefined struct 'pg_conn' on Windows7  (Brilliantov Kirill Vladimirovich <brilliantov@byterg.ru>)
Список pgsql-general
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

В списке pgsql-general по дате отправления:

Предыдущее
От: Brilliantov Kirill Vladimirovich
Дата:
Сообщение: undefined struct 'pg_conn' on Windows7
Следующее
От: Brilliantov Kirill Vladimirovich
Дата:
Сообщение: Re: undefined struct 'pg_conn' on Windows7