On Wed, 13 Jul 2011, xinyi huang wrote:
when I don't give CURLOPT_WRITEFUNCTION and CURLOPT_WRITEDATA, the code
works fine, successfully locate to new url. But when I give
CURLOPT_WRITEFUNCTION and CURLOPT_WRITEDATA, virtual studio accurs to
exception.
(Please don't top-post)
When usign Windows and libcurl as a DLL, make sure you set _both_
CURLOPT_WRITEFUNCTION and CURLOPT_WRITEDATA. Then things should be fine.
Unless, you need to provide much more specific information.
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html