pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ahmad Munif <munif@hotpop.com>
To: pgsql-interfaces@postgresql.org
Subject: Newbie, static and dynamic library (C library - libpq)
Date: Tue, 23 Jul 2002 08:31:01 +0700
Message-ID: <005a01c231e8$dbc3a140$d101a8c0@intra.magna.co.id> (raw)

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





Message-ID: <005a01c231e8$dbc3a140$d101a8c0@intra.magna.co.id>
Permalink:  ../005a01c231e8$dbc3a140$d101a8c0@intra.magna.co.id/
Also on:    postgresql.org/message-id/005a01c231e8$dbc3a140$d101a8c0@intra.magna.co.id

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: munif@hotpop.com
  Subject: Re: Newbie, static and dynamic library (C library - libpq)
  In-Reply-To: <005a01c231e8$dbc3a140$d101a8c0@intra.magna.co.id>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox