At 21:31 12.10.03 +, Tor Lillqvist wrote:
I am getting tired of maintaining the .def files that list entry
points exported by DLLs. Gcc doesn't really need them anyway. If you
don't give it any .def file, it exports all global symbols, just like
Unix compilers/linkers traditionally work. (All
Arnaud Charlet writes:
Is it really the case that MSVC can't create DLLs without .def files ?
No. But the alternative is to decorate every function and variable to
be exported with __declspec(dllexport). That would clutter the headers
unbearable. (The exported variables do have to be decorated
Tor Lillqvist writes:
No. But the alternative is to decorate every function and variable to
be exported with __declspec(dllexport).
To be more precise, preprocessor macros would have to be used in such
a way that when compiling the library in question, the compiler sees
__declspec(dllexport),