[Speex-dev] Library export file for Win32 (patch)

Erik de Castro Lopo erikd-100 at mega-nerd.com
Sun Sep 4 17:51:25 PDT 2005

Jean-Marc Valin wrote:

> Just curious (I've never compiled Speex on Win32 myself), 

Lucky you :-).

> why the @1,
> @2, ... at the end of the lines. Is that for a different compiler or
> something?

Windows, identifies functions exported from a DLL by ordinal number
rather than function name. These ordinal numbers can be specified 
in the .def file using the



If you don't explicitly set them and then add a new function, the
compiler might change the number to function mapping and hence
break binary compatibility across releases.

Yes, windows is broken :-).

  Erik de Castro Lopo  nospam at mega-nerd.com (Yes it's valid)
The main confusion about C++ is that its practitioners think
it is simultaneously a  high and low level language when in
reality it is good at neither.

More information about the Speex-dev mailing list