cURL / Mailing Lists / curl-library / Single Mail

curl-library

Using libCURL in a IE toolbar DLL

From: charles <sanders-consulting_at_attbi.com>
Date: Thu, 5 Dec 2002 11:28:40 -0800

Hello all,

Im using libCURL to query a website to see if new forum posts and private messages exist for a certain user, and if so enabling a toolbar button. The problem is its crashing when I use

FILE* f = fopen("C://foo.txt","w");
curl_easy_setopt(curl,CURLOPT_FILE ,f);

It actually crashes on the "setopt" call. What gives ? All i really want to do is dump the info into a string to search it, any suggestions on how to proceed ?

Im using libCURL 7.10.2, MSVC++ 6.0, and ATL and WTL to create the Toolbar, which resides in a DLL and gets called upon IE startup.

Thanks,
Charles

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-12-05