Re: Link error when using Layout on MS Windows

2008-12-10 Thread Meongchul Song
Thank you for the valuable comments. I found the cause of my problem. I have been working on a  project that runs on both Linux and MS Windows. Well, the default for logchar is wchar_t on MS Windows while UTF8 on Linux. It's my fault that I did not double check the header file, log4cxx.h I modif

Link error when using Layout on MS Windows

2008-12-08 Thread Meongchul Song
Hello, I am experiencing a link error when I am trying to add a new logger on the fly. The code snippet is shown below and it works fine on Linux. But running on MS Windows causes a link error. When I commented out two lines indicated by ===>, I don't see any link error. Changing the PatternLayo