Hello Mahmoud et ALL
I wrote this Curl program to fetch quotes from Yahoo.
- Curl-Get-QHD.ring
- Quotes.ini
Then I converted it to a Distribute - Console Application
- Curl-Get-QHD,exe
From the CMD line, I change directories to where it is located
Then copy/paste -- Curl-Get-QHD.exe -- and hit enter
It runs FINE on my laptop ! See output below.
The problem is when I put it on a friend's laptop
--- Error: Cannot find ring_libcurl.dll
Where would I install ring_libcurl.dll ?
I even downloaded and installed Ring-20 on the friend's laptop
Same error -- Cannot find ring_libcurl.dll
A head scratcher !!
===================================
NOTE: CURL: Had to add UserAgent line to make it work
curl = curl_easy_init() ### START CURL INIT
curl_easy_setopt(curl, CURLOPT_USERAGENT, "curl/7.54.1" ) # FIX "Too many requests"
curl_easy_setopt(curl, CURLOPT_URL, $url); ### <<<=== SetOpt + URL
cStr = curl_easy_perform_silent(curl) ### <<<=== GET DATA - CALL CURL
====================================
RUN and OUTPUT
cd c:\MyStuff\CurlApp-Distribute>
c:\MyStuff\CurlApp-Distribute>Curl-Get-QHD.exe
sysArgV: 1
Curl-Get-QHD.exe
Empty sysArgV: Insert sysArgV for Quotes
1 BLV 71.31 71.69 71.31 71.65 71.65 202103
2 QQQ 471.96 475.43 471.30 474.68 474.68 15744836
3 SPY 541.63 543.96 541.21 542.90 542.90 21042143
4 ^TNX 4.39 4.41 4.26 4.26 4.26 0
5 VTI 267.09 268.21 266.83 267.62 267.62 1452143
6 ZROZ 76.51 77.27 76.40 77.19 77.19 600722
7 ASML 1059.15 1077.22 1055.63 1071.46 1071.46 503083
8 ADBE 469.21 471.12 466.10 469.60 469.60 1228294
9 AMD 160.32 162.23 158.92 160.65 160.65 25998077
10 ABNB 150.12 150.27 149.10 149.49 149.49 1709511
11 ALGN 259.61 267.69 258.54 264.47 264.47 361424
12 AMZN 188.12 188.35 185.94 187.03 187.03 16570119
Finished: Quotes
c:\MyStuff\CurlApp-Distribute>
======================================