Newbie, static and dynamic library (C library - libpq)

From: "Ahmad Munif" <munif(at)hotpop(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Newbie, static and dynamic library (C library - libpq)
Date: 2002-07-23 05:51:30
Message-ID: 001a01c2320c$ffd460a0$d101a8c0@intra.magna.co.id
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

i'm newbie in c/c++ language. i'm going to build c/c++ GUI application
on Windows and using C api (libpq) to connect my application to database.

i'm still confused regarding static and dynamic library,
i don't know how to include it to my source and how to compile
my source using static and dynamic library.

after compiled libpq on my windows i had static and dynamic library
(libpq.dll, libpqdll.lib, libpq.lib)
then, i don't know how to include and compile my source if i use
static and dynamic library.

help me please, how to use it if i use static library, and if i use dynamic
library ?

thanks

Browse pgsql-general by date

  From Date Subject
Next Message IH8MSFT 2002-07-23 06:29:14 High availibility with PostgreSQL
Previous Message Roberto Mello 2002-07-23 05:45:07 Re: Editor for pgsql