Received: from babyruth.hotpop.com (babyruth.hotpop.com [204.57.55.14]) by postgresql.org (Postfix) with ESMTP id C04004750F5 for ; Mon, 22 Jul 2002 21:34:04 -0400 (EDT) Received: from hotpop.com (kubrick.hotpop.com [204.57.55.16]) by babyruth.hotpop.com (Postfix) with SMTP id 7066A2143F1 for ; Tue, 23 Jul 2002 01:34:04 +0000 (UTC) Received: from gam (unknown [202.155.70.116]) by smtp-2.hotpop.com (Postfix) with SMTP id 900351B83F6 for ; Tue, 23 Jul 2002 01:34:00 +0000 (UTC) Message-ID: <005a01c231e8$dbc3a140$d101a8c0@intra.magna.co.id> From: "Ahmad Munif" To: Subject: Newbie, static and dynamic library (C library - libpq) Date: Tue, 23 Jul 2002 08:31:01 +0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- X-Archive-Number: 200207/125 X-Sequence-Number: 2934 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