Am 03.09.2008 um 22:11 schrieb Claude Heiland-Allen:
So the question is, does every external have to jump through this kind of hoop if it wants to compile on Windows?
/* support windows */ #ifdef MSW #define EXPORT __declspec(dllexport) extern #else #define EXPORT extern #endif
Yes and no. With the above hoop you define all what is needed - on the other hand you could also roll it out to the build stage and instruct the linker via flags or .def files about which symbols to export. gr~~~