From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,c669daddd4eaeda0 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-29 01:30:30 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nnx.oleane.net!oleane!nnrp.oleane.net!not-for-mail From: "david" Newsgroups: comp.lang.ada Subject: Re: gnat and winspool.lib Date: Thu, 29 Jan 2004 10:32:35 +0100 Organization: Guest of France Telecom Oleane's newsreading service Message-ID: References: NNTP-Posting-Host: 217.167.42.235 X-Trace: s1.read.news.oleane.net 1075368631 4056 217.167.42.235 (29 Jan 2004 09:30:31 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Thu, 29 Jan 2004 09:30:31 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Xref: archiver1.google.com comp.lang.ada:5030 Date: 2004-01-29T10:32:35+01:00 List-Id: Thanks, but this doesn't work : the compiler continues searching the dll and doesn't find it. Perhaps I haven't understood when you say "a path the compiler knows about" : I put the renamed winspool.lib in the same repository that others libraries I use (*.lib). David "Martin Dowie" a �crit dans le message news: bv8ng7$9fk$1@hercules.btinternet.com... > "david" wrote in message > news:bv7qug$tul$1@s1.read.news.oleane.net... > > hello, > > I'm facing a problem with winspool library : > > I use gnat 3.15p : the compilation and linking are made without problem > but when I try the executable, an error occur : "library > > winspool.dll not found ...." > > > > After search on my computer, I only found winspool.h, winspool.lib and > winspool.drv. > > > > Has someone got a solution to use this library ? > > You /might/ be able to get away with copying "winspool.lib" (to a path the > compiler > knows about), renaming it to "libwinspool.a" and compiling with > "-largs -lwinspool". > > -- Martin > >