Link winlib with windows DLL help????

Kevin Atkinson kevin at
Fri Sep 12 22:23:00 CDT 2003

I am having a hell of a time getting a simple program to link with a 
windows dll.  I am really sorry for the newbie question but I can't seam 
to find an answer anywhere and the mailing list archive is not 

Here is what I got:
  avs2yuv4mpeg.cpp - the main program
  avisynth_c.h   - header for DLL I need to link with
  avisynth_c.lib - lib   "        "         "

And I want to compile this into an executable avs2yuv4mpeg

I try "winemaker -iavisynth_c ."
But when making I get "could not open .def file for avisynth_c"

And I am not sure how to create this .def file.

Please help.

Once again really sorry.  But the mailing list is not searchable AND the 
winlib docs are really confusing and do not specially cover this 


More information about the wine-devel mailing list