Win32DynamicLibraryManager does not build unde WinCE Unicode
Brought to you by:
blep
Trying to build CppUnit for WinCE in EVC4 with UNICODE turned on. Win32DynamicLibraryManager does not build because it calls things like ::LoadLibrary, ::GetProcAddress, and ::FormatMessage expecting them to use a standard char *, but with UNICODE turned on they are using wide strings.
In WinCE there is for example LoadLibraryA and LoadLibraryW. Then it does this:
#ifdef UNICODE
#define LoadLibrary LoadLibraryW
#else
#define LoadLibrary LoadLibraryA
#endif // !UNICODE