cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: No Internal Easy Handle error

From: Kushal Zamkade <kushal_at_bioenabletech.com>
Date: Sun, 8 Jan 2012 23:38:22 -0800 (PST)

 i am using below code : try             {                 Curl.GlobalInit((int)CURLinitFlag.CURL_GLOBAL_ALL);                 Easy easy = new Easy();                 Easy.WriteFunction wf = new Easy.WriteFunction(OnWriteData);                 easy.SetOpt(CURLoption.CURLOPT_URL, url);                 easy.SetOpt(CURLoption.CURLOPT_POSTFIELDS, "cnt=" + header1);                 easy.SetOpt(CURLoption.CURLOPT_POST, true);                 easy.SetOpt(CURLoption.CURLOPT_HTTPAUTH, CURLhttpAuth.CURLAUTH_ANY);                 easy.SetOpt(CURLoption.CURLOPT_SSL_VERIFYPEER, false);                 easy.SetOpt(CURLoption.CURLOPT_WRITEFUNCTION, wf);                 easy.Perform();                 easy.Cleanup();                                 Curl.GlobalCleanup();             }             catch (Exception ex)             {                 MessageBox.Show(ex.Message);             } to post data on a url. i am getting error when my application is running at windows server 2003 . i have tested my application on windows server 2003 it was running fine but on other machine with server 2003 it is not working. giving error " No Internal Esay Handle" . I have downloaded libcurlnet_1-3. Please reply as soon as possible.   Best Regards Kushal Zamkade

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-09