cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: how to switch off console?

From: Gisle Vanem <giva_at_bgnett.no>
Date: Wed, 29 Jun 2005 15:49:09 +0200

> How can I stop the console window from
> popping up and still allow curl to make my http connections?

You could adding try:
  freopen("NUL", "wt", stdout);
  freopen("NUL", "wt", stderr);

before using any stdio or libcurl functions.

--gv
Received on 2005-06-29