Hi Lars, Thanks your response.
I have ported the log4cxx to a new VS2005 project which is defined to be x64 and build with APR, APR-util in the same solution. But I don't replace the WIN32 with WIN64 and still use the WIN32 on windows64 platform. Though I got some warning message when to build the APR libs, finally I build out the log4cxx dll. And used it in my application, so far it works well. Thanks, Tom 2009/12/2 Lars Schouw <schou...@yahoo.com> > By replacing WIN32 with WIN64 I mean that you need to > > find all #ifdef WIN32 etc.. and replace them with #ifdef WIN64 > > ------------------------------ > *From:* Lars Schouw <schou...@yahoo.com> > *To:* Log4CXX User <log4cxx-user@logging.apache.org> > *Sent:* Wed, December 2, 2009 8:44:02 PM > *Subject:* Re: How to build a x64 library on windows with Visual Studio? > > Hi Tom, > > You need to open the solution in VS2008 and then select build -> > Configuration manager. Then select new under active platform and choose to > copy the win32 to x64. I the projects you need to replace WIN32 with WIN64. > There might be more you need to do... that is a good start. > > I assume is is the same under VS2005. > > Lars > > ------------------------------ > *From:* Zhou Tao <zhoutao...@gmail.com> > *To:* log4cxx-user@logging.apache.org > *Sent:* Fri, September 4, 2009 12:34:54 AM > *Subject:* How to build a x64 library on windows with Visual Studio? > > Hi all, > > I am trying to build the log4cxx libraries on a Windows x64 2003 server. I > use a Visual Studio 2005 as the compiling tool. > > I can build the APR, APR-UTIL with x64 option, however for log4cxx.dsp the > x64 option in Visual Studio 2005 is disabled. > > So how to use or build the log4cxx on a winx64 server. > > Thanks tons, > > Tom > > > -- Thanks and Regards, Tom