Winelib problems

François Gouget fgouget at codeweavers.com
Fri Mar 2 23:11:00 CST 2001


lawson_whitney at juno.com wrote:
> 
> On Fri, 2 Mar 2001, Ignasi Villagrasa wrote:
> 
> > I'd like to know how to link console functions such as
> > WriteConsoleOutputA.
> >
> > They are documented as implemented, and I can compile source code
> > including these function predefinitions, but I get undefined errors when
> > linking. I don't know which library to add to get objects linked.
> >
> > Thanks in advance. Ignasi Villagrasa.
> >
> Just import kernel32.dll in your .spec file, I think.

   Yes, this should do it. Assuming you have the Wine source, here's how
you can find out which dll to link with. Just type:

   grep SomeAPI ~/wine/dlls/*/*.spec

   Basic but efficient.


-- 
François Gouget
fgouget at codeweavers.com



More information about the wine-users mailing list