cURL / Mailing Lists / curl-users / Single Mail


Re: how to switch off console?

From: Gisle Vanem <>
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.

Received on 2005-06-29