cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: Visual C++ 6.0 Problems

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 19 Feb 2001 08:29:29 +0100 (MET)

On Mon, 19 Feb 2001 chenfs_at_maxis.net.my wrote:

(Please don't mail BOTH the list and me privately, it is fine to mail the
list only.)

> I'm successfully to get the libcurl.lib out. Now I have other
> problem I execute the following code get the error "Couldn't resolve
> host" but i use the >> curl http://curl.haxx.se no problem. What u think
> the problemn is ??

Was this the full source code? Then you haven't done the WSAStartup() calls
as you're supposed to. As documented in the curl_easy_init() description on
http://curl.haxx.se/libcurl/docs/curl_easy_init.html

You can also see how in src/main.c in the functions called win32_init() and
win32_cleanup().

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
Received on 2001-02-19

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET