cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Memory Access error

From: Jared McIntyre <jmcintyre_at_dfsoftware.com>
Date: Mon, 12 May 2003 19:05:01 -0600

>On Sun, 11 May 2003, Jared McIntyre wrote:
>
>> We're writing code against a version of libcurl 7.10.3 we built for windows
>> (couldn't get 7.10.4 to build).
>
>Add the lib/share.c file, and it'll build! It's a bug in the release files,
>fixed in the next release...
>
>> Our ftp upload code is running into a memory exception in the fread
>> function on the _lock_str(stream) call. I'm not sure what we're doing
>> wrong.
>
>Are you using libcurl as a DLL? If so, then the explanation is that Windows
>doesn't allow data to be passed between an application and a DLL, like that.
>You need to specify your own read callback instead of relying on the internal
>fread().

That makes sense. I wasn't thinking along those lines.

Thanks,

Jared

-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
Received on 2003-05-13