apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <rpl...@apache.org>
Subject Re: apr_file_open returns error in 64-bit Windows
Date Sun, 14 Feb 2010 16:57:36 GMT
On 14.02.2010 06:47, Agrawal, Pankaj wrote:
> Hi All,
> 
> I am using APR libraries that ship with Apache 2.0.63 code base. I
> compiled the libraries (libapr.dll, libaprutil.dll and libapriconv.dll)
> on 64-bit windows using Visual Studio Team Edition. When I am using
> these libraries, the apr_file_open function is returning an error of
> "invalid argument". However, the same code base works fine when compiled
> & tested in 32-bit Windows.
> 
> This is how the call looks like in my code base.
> 
> apr_file_open(&file,file.c_str(),APR_WRITE,APR_OS_DEFAULT,pool);
> 
> Any thoughts?

Try using later versions of APR (1.3.x / 1.4.x) instead of 0.9.x.
They are more battle tested in 64 Bit environments.

Regards

RĂ¼diger


Mime
View raw message