I did a lot of playing with project defines. Now the error count has dropped, but it seems I have to compile the project with _UNICODE and UNICODE defined, or I get errors like:
Error 1 error C2664: 'OutputDebugStringW' : cannot convert parameter 1 from 'const char [94]' to 'LPCWSTR' c:\strana\circletech\xerces_working\src\xercesc\util\XMLString.hpp 1518 It seems the problem is in assert macro, which calls the widechar version even if UNICODE or _UNICODE is not defined, I guess it is a problem caused by another of my defines... Right now they are: _DEBUG _WIN32_WCE=$(CEVER) UNDER_CE $(PLATFORMDEFINES) $(ARCHFAM) $(_ARCHFAM_) WINCE DEBUG UNICODE _UNICODE _WINDOWS POCKETPC2003_UI_MODEL XERCES_BUILDING_LIBRARY XERCES_USE_TRANSCODER_WINDOWS XERCES_USE_WIN32_MSGLOADER XERCES_USE_NETACCESSOR_WINSOCK XERCES_USE_FILEMGR_WINDOWS XERCES_USE_MUTEXMGR_WINDOWS XERCES_USE_ATOMICOPMGR_WINDOWS XERCES_PATH_DELIMITER_BACKSLASH XERCES_NO_ASM Also, I added regular Viusual C++ include dir to include path, because otherwise there would be no "errno.h" file, which is missing in Win Mobile SDK. I hope it is going to link all right after compilation. If not, I will remove this include dir and solve it somehow else. So when I compile with unicode support the error count has dropped to 20, here is the current list: http://www.nabble.com/file/p14354930/errors.txt errors.txt Unfortunately, I have to stop working on this for a few days, because I have two exams at the university on Monday evening and I have to learn much :) I will continue on Tuesday. Thanks a lot for your help so far, Justin. Regards, Jiří Stránský -- View this message in context: http://www.nabble.com/Compiling-Xerces-under-Windows-Mobile-tp14339833p14354930.html Sent from the Xerces - C - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
