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 > >