Ring 1.25 --- Calling Function without definition: get_curle_again

36 views
Skip to first unread message

Bert Mariani

unread,
Nov 7, 2025, 12:15:33 PM (11 days ago) Nov 7
to The Ring Programming Language
Hello Mahmoud

Curl-Get-QHD.ring 
Original APP written and converted to EXE by Ring 1.24 = Worked

Curl-Get-QHD-Mod-1.ring
Modified with minor changes and converted to EXE by Ring 1.25 = Fails

Complains
Line 200 Error (R3) : Calling Function without definition: get_curle_again


=======================
DETAILS

>cd C:\MyStuff\AA-CurlApp-Distribute

C:\MyStuff\AA-CurlApp-DISTRIBUTE>ring2exe     Curl-Get-QHD-Mod-1.ring  // Create .exe
Ring2EXE: Process File : Curl-Get-QHD-Mod-1.ring
Ring2EXE: Start building the application...
Ring2EXE: Generate C source code file...
Ring2EXE: Generation Time : 0.05 seconds...
Ring2EXE: Generate batch|script file...
Ring2EXE: Generate batch|script file for dynamic building...
Ring2EXE: Build the Executable File...
Ring2EXE: End of building script...
Ring2EXE: Executable file is ready!
Ring2EXE: End of building process...
Ring2EXE: Clear Temp. Files...

==========================================

2025-11-07  11:57 AM           425,472 Curl-Get-QHD-Mod-1.exe  // New Ring 1.25
2025-11-07  11:54 AM            10,217 Curl-Get-QHD-Mod-1.ring // New Ring 1.25

2025-08-29  11:39 AM           407,552 Curl-Get-QHD.exe    // Original Ring 1.24
2025-11-07  11:22 AM             8,755 Curl-Get-QHD.ring   // Original Ring 1.25

===========================================

C:\MyStuff\AA-CurlApp-DISTRIBUTE>Curl-Get-QHD-Mod-1.exe    // Execute New Fails

Line 200 Error (R3) : Calling Function without definition: get_curle_again
in file C:\Ring\extensions\ringcurl\ring_libcurl.rh
C:\MyStuff\AA-CurlApp-DISTRIBUTE>

=============================================

C:\MyStuff\AA-CurlApp-DISTRIBUTE>
C:\MyStuff\AA-CurlApp-DISTRIBUTE>Curl-Get-QHD.exe           // Execute Original Works

START - Yahoo Quote Interval 1d Range 1d Using History      // Output
BLV     1 BLV   70.79   70.46   70.77   274545
QQQ     2 QQQ   608.32  598.89  599.09  38052704
SPY     3 SPY   667.98  661.34  661.51  41802090
^TNX    4 TNX   4.11    4.07    4.07    0
^VIX    5 VIX   22.24   19.50   22.19   0
VTI     6 VTI   328.37  325.04  325.13  2263653

Mahmoud Fayed

unread,
Nov 7, 2025, 12:20:20 PM (11 days ago) Nov 7
to The Ring Programming Language
Hello Bert

Extensions contains functions that are defined and becomes accessible after saucerful loading of the DLL/so/dylib file
If we can't find a function
(1) Failure in loading the extension ---> Check the PATH and how the executable will find the extensions
(2) Check the function name and it's written correctly

Greetings,
Mahmoud

Bert Mariani

unread,
Nov 7, 2025, 12:50:30 PM (11 days ago) Nov 7
to The Ring Programming Language
Hello Mahmoud

Ran the commands to generate EXE with Ring 1.23 and it Worked.
Created successful EXE that runs properly
So there is a difference for "curl" in Ring 1.25 and Ring 1.23.

========================

C:\MyStuff\AA-CurlApp-DISTRIBUTE>C:\ring123\bin\ring2exe.exe Curl-Get-QHD-Mod-1.ring

Ring2EXE: Process File : Curl-Get-QHD-Mod-1.ring
Ring2EXE: Start building the application...
Ring2EXE: Generate C source code file...
Ring2EXE: Generation Time : 0.03 seconds...

Ring2EXE: Generate batch|script file...
Ring2EXE: Generate batch|script file for dynamic building...
Ring2EXE: Build the Executable File...
Ring2EXE: End of building script...
Ring2EXE: Executable file is ready!
Ring2EXE: End of building process...
Ring2EXE: Clear Temp. Files...

===========================

2025-11-07  12:28 PM           412,672 Curl-Get-QHD-Mod-1.exe

2025-11-07  11:54 AM            10,217 Curl-Get-QHD-Mod-1.ring

===========================

C:\MyStuff\AA-CurlApp-DISTRIBUTE>Curl-Get-QHD-Mod-1.exe
START - Yahoo Quote Interval 1d Range 1d Using History    // Good Output
BLV     1 BLV   70.79   70.46   70.74   294172
QQQ     2 QQQ   608.32  598.67  601.55  43225660
SPY     3 SPY   667.98  661.21  663.58  47135401

^TNX    4 TNX   4.11    4.07    4.07    0
^VIX    5 VIX   22.72   19.50   22.37   0
VTI     6 VTI   328.37  324.98  326.17  2590176

Mahmoud Fayed

unread,
Nov 7, 2025, 12:53:11 PM (11 days ago) Nov 7
to The Ring Programming Language
Hello Bert

>> " So there is a difference for "curl" in Ring 1.25 and Ring 1.23."

It could be about the (System PATH) and which DLL files are loaded during runtime
Maybe Ring 1.23 is used in your system path, so the executable using ring.dll, etc. from this path
While Ring 1.24 is not used (not in the path, or not before other folders), so the executable generated by Ring 1.24 is using another DLL files (by other version)

Greetings,
Mahmoud

Bert Mariani

unread,
Nov 7, 2025, 9:54:16 PM (10 days ago) Nov 7
to The Ring Programming Language
Hello Mahmoud

Problem was that Ring 1.24 has New DLL's that are different in size from the Ring 1.23 DLL's

==================================
C:\MyStuff\AA-Curl-DISTRIB-Ring124> C:\ring\bin\ring2exe.exe Curl-Get-QHD-Mod-1.ring

 Directory of C:\MyStuff\AA-Curl-DISTRIB-Ring124    (Ring124  DLL's) 
2025-11-07  09:37 PM           425,472 Curl-Get-QHD-Mod-1.exe     // Now Works

2025-11-07  11:54 AM            10,217 Curl-Get-QHD-Mod-1.ring
2025-09-30  09:02 PM           667,648 ring.dll
2025-10-07  10:22 AM           226,304 ring_cjson.dll
2025-09-30  09:05 PM           827,904 ring_libcurl.dll

===================================================
Directory of C:\MyStuff\AA-CurlApp-DISTRIBUTE     (Ring123  DLL's) 
2025-11-07  12:28 PM           412,672 Curl-Get-QHD-Mod-1.exe
2025-11-07  11:54 AM            10,217 Curl-Get-QHD-Mod-1.ring
2024-09-01  10:24 AM           590,848 ring.dll
2025-07-12  05:17 AM           888,320 ring_cjson.dll
2024-09-01  10:25 AM           908,288 ring_libcurl.dll

Mahmoud Fayed

unread,
Nov 8, 2025, 4:55:45 AM (10 days ago) Nov 8
to The Ring Programming Language
Hello Bert

Thanks for the analysis

Greetings,
Mahmoud

Reply all
Reply to author
Forward
0 new messages