This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: More relocatable dll woes




----------
> De: Jon Thackray <jont@harlequin.co.uk>
> A: gnu-win32@cygnus.com
> Asunto: More relocatable dll woes
> Fecha: jueves 10 de julio de 1997 16:36
> 
> It would appear that the export table of a dll, and the set of defined
> symbols from a .lib file, don't always match up
> ----skipped------

I think you're mixing two different concepts:

     00000000 T _AddAtomA@4
 
this is the "mangled" name of the function. The number after the @ is the
number of words of the parameters of the function (or something like this,
I can't remember...) and it is this way because the fuction was compiled as
an __stdcall fucntion whitch also prepends an underscore at the beginning.
This "mangled" name is produced by the compiler to tell the linker that it
is a __stdcall function (as you see in the lib file), but once the code
it`s compiled, the right name ( C functions are not mangled!) is produced
in the DLL or EXE file, that it is what you see here:

    1    0   AddAtomA  (000079CA)

Ismael Jurado
ismaelj@hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]