Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-Id: <4.3.1.2.20010504113950.01fbdb28@pop.ma.ultranet.com>
X-Sender: lhall@pop.ma.ultranet.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Fri, 04 May 2001 11:40:15 -0400
To: "Svein Erling Seldal" <Svein.Seldal@edcom.no>, <cygwin@cygwin.com>
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
Subject: Re: Using setupapi.lib/h/dll from cygwin
In-Reply-To: <NEBBLKFNEDOFBCDCJMLKKEJCCDAA.Svein.Seldal@edcom.no>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

At 09:11 AM 5/4/2001, Svein Erling Seldal wrote:

>Hi,
>
>I'm building a GNU program which is dependent on functions from the MS
>library 'setupapi.lib' (which in turn loads 'setupapi.dll'). This library is
>not included in the w32api package.
>
>How do I proceed to get this included into my program? I've successfully
>compiled the program (using MS headers), but complete linking remains. It
>misses and requires four functions which is exported in setupapi.dll.
>
>How do I include a custom dll into my program, like this?
>
>
>Regard,
>Svein Erling Seldal



Add setupapi.lib to your link line.



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

