FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index WhatsNew / Novedades xHarbour.org updated!
Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM
Re: xHarbour.org updated!
Posted: Wed Nov 29, 2023 05:41 PM
Enrico Maria Giordano wrote:xHarbour builds updated to version 10277:

http://xharbour.org/index.asp?page=download/windows/binaries_win
Enrico:
Code (fw): Select all Collapse
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: xHarbour.org updated!
Posted: Wed Nov 29, 2023 06:08 PM

Sorry, my fault. Now it is OK.

Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM
Re: xHarbour.org updated!
Posted: Wed Nov 29, 2023 06:33 PM
Enrico Maria Giordano wrote:Sorry, my fault. Now it is OK.
Muchas gracias. Eres increible.
Code (fw): Select all Collapse
Harbour 1.3.0 Intl. (SimpLex) (Build 20231119)
Correct?

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM
Re: xHarbour.org updated!
Posted: Wed Jan 17, 2024 02:35 PM
Code (fw): Select all Collapse
xHarbour 1.3.1 Intl. (SimpLex) (Build 20240108)
Copyright 1999-2023, http://www.xharbour.org http://www.harbour-project.org/
Thanks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM
Re: xHarbour.org updated!
Posted: Tue Feb 27, 2024 01:43 PM

Good morning Enrico. What happened? Can you no longer download the BCC(Embarcadero) compilers?

Buenos días Enrique. ¿Qué sucedió? ¿Ya no puedes descargar los compiladores BCC(Embarcadero)?

Gracias, thanks.

Regards, saludos.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: xHarbour.org updated!
Posted: Tue Feb 27, 2024 02:51 PM

No, sorry. Ron requested to remove them.

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: xHarbour.org updated!
Posted: Sat Mar 16, 2024 04:00 PM
xHarbour.org has been updated with the new xHarbour builds Rev. 10279!

http://xharbour.org/index.asp?page=download/windows/binaries_win

Please note that they now contains all the LIBs and DLLs required for OpenSSL, CURL, ADS and MySQL.
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: xHarbour.org updated!
Posted: Sun Mar 24, 2024 11:12 AM
xHarbour.org has been updated with the new xHarbour builds Rev. 10280!

http://xharbour.org/index.asp?page=download/windows/binaries_win
Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM
Re: xHarbour.org updated!
Posted: Mon Mar 25, 2024 03:23 PM
Enrico Maria Giordano wrote:xHarbour.org has been updated with the new xHarbour builds Rev. 10280!

http://xharbour.org/index.asp?page=download/windows/binaries_win
Good afternoon Enrico. Do you have any practical examples using these .DLL?

Buenas tardes Enrico. ¿Tiene algún ejemplo práctico utilizando estos .DLL?

Code (fw): Select all Collapse
xHarbour 1.3.1 Intl. (SimpLex) (Build 20240324)

 Pasta de c:\XHBBCC77\dll

25/10/2023  09:24         3.594.664 libcrypto-3.dll
11/10/2023  04:40         4.250.696 libcurl.dll
25/10/2023  09:24           704.936 libssl-3.dll
Gracias, thanks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: xHarbour.org updated!
Posted: Mon Mar 25, 2024 03:47 PM
For the OpenSSL, if you want to use SSL on the IP classes, you just have to link these libraries:
Code (fw): Select all Collapse
tipssl.lib
libssl.lib
libcrypto.lib
tip.lib
And put these DLLs in the same directory of your application:
Code (fw): Select all Collapse
libssl-3.dll
libcrypto-3.dll
For the CURL, the needed liBs are:
Code (fw): Select all Collapse
hbcurl.lib
libcurl.lib
And the DLL is:
Code (fw): Select all Collapse
libcurl.dll
A sample for CURL is:
Code (fw): Select all Collapse
#include "Fivewin.ch"
#include "Hbcurl.ch"


FUNCTION MAIN()

    CURL_GLOBAL_INIT()

    ? CALLPHP( "https://www.fivetechsoft.com/getip.php" )

    CURL_GLOBAL_CLEANUP()

    RETURN NIL


FUNCTION CALLPHP( cUrl )

    LOCAL hCurl, cRet

    hCurl = CURL_EASY_INIT()

    IF !EMPTY( cUrl )
        CURL_EASY_SETOPT( hCurl, HB_CURLOPT_URL, cUrl )

        CURL_EASY_SETOPT( hCurl, HB_CURLOPT_DL_BUFF_SETUP )

        CURL_EASY_SETOPT( hCurl, HB_CURLOPT_SSL_VERIFYPEER, 0 )

        IF CURL_EASY_PERFORM( hCurl ) = 0
            cRet = CURL_EASY_DL_BUFF_GET( hCurl )
        ENDIF

        CURL_EASY_CLEANUP( hCurl )
    ENDIF

    RETURN cRet
Posts: 74
Joined: Sun Aug 27, 2017 07:18 PM
Re: xHarbour.org updated!
Posted: Tue Mar 26, 2024 03:22 PM
Enerico, ¡Buenas tardes!
Primero que nada, felicidades por tu trabajo, estoy muy emocionado de poder compilarlo con la versión xharbour 1.3.1 y bcc7.70, pero tengo un sistema aquí que genera informes con una dll fastreport y usa un prg para se comunica con la dll y este prg al no compilar presenta varios mensajes y un error que impide la creación del obj. Si te lo paso podrás ver lo que está mal? Si puedes hacer esto te estaré inmensamente agradecido y podré usar la nueva versión xharboir y bvv 7.70
Code (fw): Select all Collapse
C:\sanposs>c:\xharbour\bin\harbour .\fast\FastRepH.prg /N /OObj\ /Ic:\fwh\include;c:\xharbour\include;c:\BCC77\include\windows
xHarbour 1.3.1 Intl. (SimpLex) (Build 20240324)
Copyright 1999-2024, http://www.xharbour.org http://www.harbour-project.org/
Compiling '.\fast\FastRepH.prg'...
Generating C source output to 'Obj\FastRepH.c'...
Done.
Lines 2174, Functions/Procedures 131, pCodes 6576

C:\sanposs>c:\BCC77\bin\bcc32 -c -b -tWM -Ic:\xharbour\include -oObj\FastRepH Obj\FastRepH.c
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
Obj\FastRepH.c:
Warning W8075 .\\fast\\FastRepH.prg 80: Suspicious pointer conversion in function HB_FUN_CALL_PROC_C
Warning W8075 .\\fast\\FastRepH.prg 86: Suspicious pointer conversion in function HB_FUN_CALL_PROC_IC
Warning W8075 .\\fast\\FastRepH.prg 92: Suspicious pointer conversion in function HB_FUN_CALL_PROC_CC
Warning W8075 .\\fast\\FastRepH.prg 92: Suspicious pointer conversion in function HB_FUN_CALL_PROC_CC
Warning W8075 .\\fast\\FastRepH.prg 98: Suspicious pointer conversion in function HB_FUN_CALL_PROC_CCC
Warning W8075 .\\fast\\FastRepH.prg 98: Suspicious pointer conversion in function HB_FUN_CALL_PROC_CCC
Warning W8075 .\\fast\\FastRepH.prg 98: Suspicious pointer conversion in function HB_FUN_CALL_PROC_CCC
Warning W8075 .\\fast\\FastRepH.prg 124: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_C_I
Warning W8075 .\\fast\\FastRepH.prg 136: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_IC_I
Warning W8075 .\\fast\\FastRepH.prg 142: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_CC_I
Warning W8075 .\\fast\\FastRepH.prg 142: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_CC_I
Warning W8075 .\\fast\\FastRepH.prg 148: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_CCC_I
Warning W8075 .\\fast\\FastRepH.prg 148: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_CCC_I
Warning W8075 .\\fast\\FastRepH.prg 148: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_CCC_I
Warning W8075 .\\fast\\FastRepH.prg 154: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_CCI_I
Warning W8075 .\\fast\\FastRepH.prg 154: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_CCI_I
Warning W8075 .\\fast\\FastRepH.prg 166: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_CIII_I
Warning W8075 .\\fast\\FastRepH.prg 173: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_CICCCCCCCC_I
Warning W8075 .\\fast\\FastRepH.prg 173: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_CICCCCCCCC_I
Warning W8075 .\\fast\\FastRepH.prg 173: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_CICCCCCCCC_I
Warning W8075 .\\fast\\FastRepH.prg 173: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_CICCCCCCCC_I
Warning W8075 .\\fast\\FastRepH.prg 173: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_CICCCCCCCC_I
Warning W8075 .\\fast\\FastRepH.prg 173: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_CICCCCCCCC_I
Warning W8075 .\\fast\\FastRepH.prg 173: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_CICCCCCCCC_I
Warning W8075 .\\fast\\FastRepH.prg 173: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_CICCCCCCCC_I
Warning W8075 .\\fast\\FastRepH.prg 173: Suspicious pointer conversion in function HB_FUN_CALL_FUNC_CICCCCCCCC_I
*** 1 errors in Compile ***
Posts: 74
Joined: Sun Aug 27, 2017 07:18 PM
Re: xHarbour.org updated!
Posted: Tue Mar 26, 2024 03:27 PM

Se generó fastrep.c pero hubo un error al generar el obj.

Posts: 74
Joined: Sun Aug 27, 2017 07:18 PM
Re: xHarbour.org updated!
Posted: Tue Mar 26, 2024 03:28 PM

intente compilar de la siguiente manera:

c:\xharbour\bin\harbour .\fast\FastRepH.prg /N /OObj\ /Ic:\fwh\include;c:\xharbour\include;c:\BCC77\include\windows

c:\BCC77\bin\bcc32 -c -b -tWM -Ic:\xharbour\include -oObj\FastRepH Obj\FastRepH.c

Se generó fastrep.c pero hubo un error al generar el obj.