Using setupapi.lib/h/dll from cygwin

Larry Hall (RFK Partners, Inc) lhall@rfk.com
Fri May 4 08:42:00 GMT 2001


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



More information about the Cygwin mailing list