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

Reply via email to