Mail Archives: cygwin/1997/04/09/21:33:50
>Has anybody here done the import lib for winspool.drv?
>I have discovered to my dismay, that Microsoft has defined the exports
>without the '@' kludge. I.e. the export is named
>_EnumPrinterDriversA
>but this function is _stdcall, so my compiler (as probably gcc too)
>generates a call to a function :
>_EnumPrinterDriversA AT 28
> ...
I don't know if this will help you but
to generate a library file from a DLL, first you need the def file, that can
be generated whith my IMPDEF.C (I have posted a revision of it) or use the
IMPDEF.EXE that comes whith the LCC distribuition:
IMPDEF winspool.drv > winspool.def
Then use dlltool to generate the lib:
dlltool --dllname winspool.drv --def winspool.def --output-lib libkernel32.a -k
and that's all!
Ismael Jurado
ismael DOT AT hotmail DOT com
---------------------------------------------------------
Get Your *Web-Based* Free Email at http://www.hotmail.com
---------------------------------------------------------
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -