1. Re[4]: Generic HTTP access?

> Have you libcURL installed on your machines?

> If so, download eulibcurl.e from
> http://www.raymondsmith.com/euphoria/downloads/eulibcurl02.zip

> Include eulibcurl.e in your program after changing the path to the librar=
y:

> }}}
<eucode>
> if platform() = WIN32 then
>     path/to/libcurl.dll
> else
>     path/to/libcurl.so
> end if
> </eucode>
{{{


> By including eulibcurl.e you can access a function called
> =ABcurl_easy_get_file()=BB that downloads any web page.
> In the zip file there is also a demo: easy_download.exw.

I tried curl some time ago.. and sometimes I got machine exceptions
(not really repeatable). That time I switched to wget using
ShellExecute. I feel that a decent and stable network library in EU is
not yet available.

new topic     » topic index » view message » categorize

2. Re: Re[4]: Generic HTTP access?

According to the authors, libcurl *must* be initialized at the very beginning of
the main program from where it is used and *not* when any of the library
functions are about to be used.
Otherwise, programs may experience crashes at random (non repeatable).

Besides, libcurl is much more powerful than wget.

JG

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu