What are those .exp files for?

Started by Fuzzlix, November 21, 2013, 08:02:04 PM

Previous topic - Next topic

Fuzzlix

When compiling a dll i get in addition a .lib file and a .exp file.

The usage for the .lib file is clear. But when do i need the .exp file?
Until now no one complained, when i deleted this file.

Fuzzlix.

Bitbeisser

Quote from: Fuzzlix on November 21, 2013, 08:02:04 PM
When compiling a dll i get in addition a .lib file and a .exp file.

The usage for the .lib file is clear. But when do i need the .exp file?
Until now no one complained, when i deleted this file.

Fuzzlix.
.exp files are "export" files, containing information about the functions exported by the DLL, which are needed if you create (for whatever reason) create circular references between  DLLs.
The best (short) description I found for this is at http://binglongx.wordpress.com/2008/10/01/dll-lib-def-and-exp-file-types/

hth,

Ralf