Connection to postgresql from Windows

From: "Anita Jose" <j(dot)anitha(at)teles(dot)com>
To: <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Connection to postgresql from Windows
Date: 2006-03-20 04:25:06
Message-ID: 012c01c64bd6$45c1c850$2f73a8c0@1HEiSERVER
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Hi,

I tried connecting to postgresql from VC++6.0 using the header file libpq-fe.h.

But its giving the errors,

pgm.obj : error LNK2001: unresolved external symbol _PQconnectdb

pgm.obj : error LNK2001: unresolved external symbol "public: unsigned long __thiscall CTxLogger::Initialize(char const *,unsigned short,unsigned long)" (?Initialize(at)CTxLogger@@QAEKPBDGK(at)Z)

pgm.obj : error LNK2001: unresolved external symbol "class CTxLogger * g_Logger" (?g_Logger@@3PAVCTxLogger@@A)

I am using Win32 application, not console application. Can you please help me. My OS is Windows 2000.

Best regards,
Anita Jose

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Miguel Angel 2006-03-20 18:34:32 Copiado
Previous Message Martin Marques 2006-03-19 14:35:49 Re: Funciones Fecha Hora