From: Norman B. <nor...@gm...> - 2009-08-27 16:49:41
|
Jim if you find the answer I sure would like to know too. I asked a similar question last week and have still been searching for the answer. Norm On 8/27/09, James Moody <mo...@pf...> wrote: > I've just started working with msys/mingw, please forgive if this is > answered elsewhere (I looked - I really did!). > > I have a device, a Windows DLL for this device, and an ansi-c header > file (which the company considers a complete enough API). I already have > the device driver installed on my Windows system. I'd like to use > msys/mingw to write a small test program (open the device, read some > registers, set some configuration bits, then exit cleanly). > > How do I get gcc or g++ to use the DLL file as the library? Is there a > special flag on the compile line? Or do I have to create a library from > the DLL? > > I can't believe I'm the first person to ask this, but I could not find > answers or examples anywhere (or maybe I just did not understand what I > found!). > > Thanks. > --Jim > > > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > MinGW-users mailing list > Min...@li... > > This list observes the Etiquette found at > http://www.mingw.org/Mailing_Lists. > We ask that you be polite and do the same. > > Most annoying abuses are: > 1) Top posting > 2) Thread hijacking > 3) HTML/MIME encoded mail > 4) Improper quoting > 5) Improper trimming > _______________________________________________ > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > -- Sent from my mobile device |