Hi Andreas,

I tried to delay load the dll. But this time it did not link. This is the
error message I get. It's the linker version of the run time error message.

TestCxxLogging fatal error LNK1194: cannot delay-load 'log4cxxd.dll' due to
import of data symbol '"__declspec(dllimport) public: static class
log4cxx::helpers::ObjectPtrT<class log4cxx::Level> const
log4cxx::Level::FATAL"
([EMAIL PROTECTED]@log4cxx@@[EMAIL PROTECTED]@log4cxx@@@[EMAIL PROTECTED]@B)';
link without /DELAYLOAD:log4cxxd.dll

Also a request: When you upload a windows build can you upload the generated
pdb files also.

Thanks
Arun

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
rg] On Behalf Of Andreas Fester
Sent: Thursday, May 25, 2006 3:33 PM
To: Log4CXX User; [EMAIL PROTECTED]
Subject: Re: Error when using trunk (rev:409259) log4cxxd.dll

Hi Arunkumar,

> Hi Guys,
> 
> I built the log4cxxd.dll using the default parameters (though one of the
> unit tests failed in the end. I had sed etc. in the PATH. OS: Windows XP
> Sp2. Env: VS.Net 2003). I included the dll in my test project and as soon
as
> I ran it I get this pleasing error (log4cxx_error.JPG). :)
> 
> -----
> Another question:
> I am using the OutputDebugStringAppender in the following manner. But on
> calling LOG4CXX_INFO it throws an exception (log4cxx_exception.JPG). I am
> using the dll provided in the littletux site for windows (13 March 06).
What
> am I doing wrong?

At least the dll from 13 march 06 is somewhat outdated. I created new
binaries
for VC .NET 2003, the package is available at the same location
(http://www.littletux.net/log4cxx/log4cxx-0.9.8_win32.zip)

Maybe you can retry with those?

Best Regards,

        Andreas



Reply via email to