apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Agrawal, Pankaj" <Pankaj.Agra...@ca.com>
Subject RE: apr_file_open returns error in 64-bit Windows
Date Mon, 15 Feb 2010 06:08:05 GMT
Thanks Rudiger. The latest versions of the APR libs resolved the issue.

-----Original Message-----
From: Ruediger Pluem [mailto:rpluem@apache.org] 
Sent: Sunday, 14 February 2010 10:28 PM
To: APR Developer List
Subject: Re: apr_file_open returns error in 64-bit Windows

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.



View raw message