Re: Sample sepheader.c ?
Date: Mon, 15 May 2006 00:48:12 +0200 (CEST)
On Fri, 12 May 2006, Arthur Hung wrote:
> My program is compiled at Visual Studio .Net 2003 on Windows XP. It runs
> well in sample.c (http://curl.haxx.se/libcurl/c/example.html). But it has
> error when running sepheader.c (get HTTP with headers separate). It compiles
> successfully. But when it runs, it meets error "Unhandled exception at
> 0x7c938fea in MyProgram.exe: 0xC0000005:
Yes, when using a DLL on window you can't pass a file handle from the app to
the DLL, you need to also set a CURLOPT_HEADERFUNCTION.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-05-15