Pelles C forum

C language => Beginner questions => Topic started by: Fuzzlix on November 21, 2013, 08:02:04 PM

Title: What are those .exp files for?
Post by: 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.
Title: Re: What are those .exp files for?
Post by: Bitbeisser on November 22, 2013, 01:41:13 AM
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
Title: Re: What are those .exp files for?
Post by: Fuzzlix on November 22, 2013, 01:50:25 AM
Quote from: Bitbeisser on November 22, 2013, 01:41:13 AM
The best (short) description I found for this is at http://binglongx.wordpress.com/2008/10/01/dll-lib-def-and-exp-file-types/
WOW! Thats a great link. Thanks a lot :)

Fuzzlix.