Re: FTP upload from NT.
Date: Sun, 4 Jul 2004 10:18:40 +0200 (CEST)
On Sun, 4 Jul 2004, Alexander Krasnostavsky wrote:
> I found that when libcurl compiled with _MT option, fread() try to lock
> the file:
> _lock_str(stream); /* lock stream */
> And I get "Access violation writing location 0x00000010" error.
> Does somebody have solution for it?
libcurl is built as a DLL and you pass a file handle to the lib from the app?
That is clearly documented to not work.
1. Link statically
2. Provide a read callback that does the reading
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-07-04