_EWL_IMP_EXP

The C, C++, SIOUX and runtime shared libraries have all been combined into one shared library located under the appropriate OS support folder in your CodeWarrior installation path.

The exports files ( .exp) have been removed. The prototypes of objects exported by the shared lib are decorated with a macro:

_EWL_IMP_EXP_xxx

where xxx is the library designation and can be defined to __declspec(dllimport).

This replaces the functionality of the .exp/.def files. Additionally, the C, C++, SIOUX and runtimes can be imported separately by defining the following 4 macros differently:

_EWL_IMP_EXP_C

_EWL_IMP_EXP_CPP

_EWL_IMP_EXP_SIOUX

_EWL_IMP_EXP_RUNTIME

Define these macros to nothing if you don't want to import from the associated lib, otherwise they will pick up the definition of _EWL_IMP_EXP.

There is a header <UseDLLPrefix.h> that can be used as a prefix file to ease the use of the shared lib. It is set up to import all 4 sections.

There is a problem with non-const static data members of templated classes when used in a shared lib. Unfortunately <locale> is full of such objects. Therefore you should also define _EWL_NO_LOCALE which turns off locale support when using the C++ lib as a shared lib. This is done for you in <UseDLLPrefix.h>. See _EWL_NO_LOCALE for more details.