cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Question about using libcurl in Visual Studio 2003

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 9 May 2006 13:36:33 +0200 (CEST)

On Tue, 9 May 2006, Arthur Hung wrote:

> function1.c
> d:\MyProject\_function1\function1.c(1133) : error C2275: 'CURL' :
> illegal use of this type as an expression
> d:\MyProject\libcurl\include\curl\curl.h(44) : see declaration of
> 'CURL'
> d:\MyProject\_function1\function1.c(1133) : error C2065: 'curl' :
> undeclared identifier

Can you show us a small but full source code example you try to compile? It
sounds like you're just doing a syntax error in your C code.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-05-09