cURL / Mailing Lists / curl-users / Single Mail

curl-users

how to switch off console?

From: Cris D Putnam <cdputnam_at_us.ibm.com>
Date: Wed, 29 Jun 2005 09:17:01 -0400

I am using libcurl in a C++/ QT gui app. for windows. Using
curl_easy_perform(curl); for http basic authentication and the like. Now
throughout my development stage having the console window popup and
display the html as a connection to a webpage is established was fine and
reassuring, however now that my project is almost complete I would like to
remove this. If use the FreeConsole(); command it works and frees the
console but libcurl will not connect any longer. The same thing happens
if I use visual studio to switch from a console app to a windows app. I
also tried curl_easy_setopt(curl_handle,CURLOPT_VERBOSE,0); but the html
still displays in the console. How can I stop the console window from
popping up and still allow curl to make my http connections?

Thank You

Cris D. Putnam
Received on 2005-06-29